Breaking changes (for MSSQL users)
The MSSQL snapshot has been upgraded to version 2. When you generate the next migration Drizzle Kit will ask you to update your current snapshot to version 2 if you have not done it already
"indexes.columns" field was updated in snapshot
This change allows to proper handle sql`` values inside index().on()
🎉 MySQL use/force/ingore index now accepts unique constraints
Bug fixes
- [BUG]: truncated tables on ALTER COLUMN statements
- [BUG]: Drizzle generates incorrect SQL migration for policy permission string changes
- [BUG]: Introspect PG _text type not recognized as an array
- [BUG]: drizzle-kit pull fails if db includes views which are not in "tablesFilter"
- [BUG]: AnySQLiteColumn in generated schema is not prefixed by "type" keyword
- [BUG]: drizzle-kit generate fails with "undefined" is not valid JSON
- [BUG]: Primary key migration fails when changing from one column to another
- [BUG]: Operator precedence of = and IS NULL is disrespected when using eq and isNull