drizzle-kit 0.21.2-dd5c3c4 → 0.21.2-ef624aa
Sign up to get free protection for your applications and to get access to all the features.
- package/bin.cjs +1 -1
- package/package.json +1 -1
- package/payload.js +1 -1
- package/payload.mjs +1 -1
package/bin.cjs
CHANGED
@@ -17233,7 +17233,7 @@ var init_sqlgenerator = __esm({
|
|
17233
17233
|
const primaryKeyStatement = `${primaryKey ? " PRIMARY KEY" : ""}`;
|
17234
17234
|
const referenceAsObject = referenceData ? SQLiteSquasher.unsquashFK(referenceData) : void 0;
|
17235
17235
|
const referenceStatement = `${referenceAsObject ? ` REFERENCES ${referenceAsObject.tableTo}(${referenceAsObject.columnsTo})` : ""}`;
|
17236
|
-
return `ALTER TABLE
|
17236
|
+
return `ALTER TABLE ${tableName} ADD \`${name}\` ${type}${primaryKeyStatement}${defaultStatement}${notNullStatement}${referenceStatement};`;
|
17237
17237
|
}
|
17238
17238
|
};
|
17239
17239
|
PgAlterTableAlterColumnSetTypeConvertor = class extends Convertor {
|
package/package.json
CHANGED
package/payload.js
CHANGED
@@ -13974,7 +13974,7 @@ var init_sqlgenerator = __esm({
|
|
13974
13974
|
const primaryKeyStatement = `${primaryKey ? " PRIMARY KEY" : ""}`;
|
13975
13975
|
const referenceAsObject = referenceData ? SQLiteSquasher.unsquashFK(referenceData) : void 0;
|
13976
13976
|
const referenceStatement = `${referenceAsObject ? ` REFERENCES ${referenceAsObject.tableTo}(${referenceAsObject.columnsTo})` : ""}`;
|
13977
|
-
return `ALTER TABLE
|
13977
|
+
return `ALTER TABLE ${tableName} ADD \`${name2}\` ${type}${primaryKeyStatement}${defaultStatement}${notNullStatement}${referenceStatement};`;
|
13978
13978
|
}
|
13979
13979
|
};
|
13980
13980
|
PgAlterTableAlterColumnSetTypeConvertor = class extends Convertor {
|
package/payload.mjs
CHANGED
@@ -14025,7 +14025,7 @@ var init_sqlgenerator = __esm({
|
|
14025
14025
|
const primaryKeyStatement = `${primaryKey ? " PRIMARY KEY" : ""}`;
|
14026
14026
|
const referenceAsObject = referenceData ? SQLiteSquasher.unsquashFK(referenceData) : void 0;
|
14027
14027
|
const referenceStatement = `${referenceAsObject ? ` REFERENCES ${referenceAsObject.tableTo}(${referenceAsObject.columnsTo})` : ""}`;
|
14028
|
-
return `ALTER TABLE
|
14028
|
+
return `ALTER TABLE ${tableName} ADD \`${name2}\` ${type}${primaryKeyStatement}${defaultStatement}${notNullStatement}${referenceStatement};`;
|
14029
14029
|
}
|
14030
14030
|
};
|
14031
14031
|
PgAlterTableAlterColumnSetTypeConvertor = class extends Convertor {
|