db2 driver updates
This commit is contained in:
@@ -37,3 +37,23 @@ and Laravel migration registration and rollback.
|
||||
- Migration batch lookup casts query-builder `max('batch')` results to text so
|
||||
Laravel can perform numeric arithmetic through PDO_ODBC. This applies to custom
|
||||
migration history table names as well.
|
||||
|
||||
|
||||
## Phase 7 data types and indexes
|
||||
|
||||
- `char(length)` creates a fixed-width Db2 character column. `uuid()` uses
|
||||
`CHAR(36)` and leaves UUID validation and generation to the application.
|
||||
- `time()` uses Db2 TIME at whole-second precision. Fractional TIME precision
|
||||
raises an exception. Timestamp and datetime definitions accept Db2
|
||||
fractional-second precision, and the catalog reports it for TIMESTAMP.
|
||||
- `renameIndex()` uses Db2's same-schema rename for an application-created
|
||||
index. It preserves key order and uniqueness. Db2 requires the target name
|
||||
to be available in that schema.
|
||||
- Time-zone-aware column types, binary UUID storage, expression indexes,
|
||||
and automatic REORG remain outside the verified scope.
|
||||
|
||||
Run the focused live tests with:
|
||||
|
||||
```sh
|
||||
APP_ENV=testing php artisan test --do-not-cache-result tests/Feature/Db2/SchemaTypesAndIndexesTest.php
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user