v1.0.0-beta.11
Pre-release
Pre-release
·
19 commits
to beta
since this release
- Defaulted
PgTimestampStringtimezone offset to be+00when value gets returned asDateinstance Pg: Cache is now used only when explicitly defined. In recentbetaversions caching was still applied even when no cache was configured- Separated date and int-exclusive column methods from common
pg builder(separeted .defaultNow(), .generatedAlwaysAsIdentity(), .generatedByDefaultAsIdentity())
Bug fixes
-
[BUG]:drizzle-kit pull generates incorrect schema for functional/computed index
-
[BUG]: Drizzle-kit - push tries to delete non-public schemas by default (pscale_extensions)
-
Commutativity for
MySQLnow(N)andCURRENT_TIMESTAMP(N)
MySQL pull command:
- Creation of a primary key when a column had only
UNIQUEandNOT NULL varbinary()config was ignored in a ts schema file- Foreign key column duplication when constraint names matched across multiple databases
- Inconsistent casing between
schema.tsandrelations.ts - Cyclic references are generated as inline
.references((): AnyMySqlColumn => ...)to avoid type errors for single-column references
Common:
- Relation name collisions with column names during introspection. If a relation name collides with a column name - the relation is renamed to
<name>Relation