Merge remote-tracking branch 'origin/release/0.14' into feat/postgres-improvements

This commit is contained in:
dswbx
2025-06-07 09:41:32 +02:00
39 changed files with 435 additions and 128 deletions

View File

@@ -31,7 +31,11 @@ export class SqliteConnection extends Connection {
type,
(col: ColumnDefinitionBuilder) => {
if (spec.primary) {
return col.primaryKey().notNull().autoIncrement();
if (spec.type === "integer") {
return col.primaryKey().notNull().autoIncrement();
}
return col.primaryKey().notNull();
}
if (spec.references) {
let relCol = col.references(spec.references);