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 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 \`${tableName}\` ADD \`${name}\` ${type}${primaryKeyStatement}${defaultStatement}${notNullStatement}${referenceStatement};`;
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "drizzle-kit",
3
- "version": "0.21.2-dd5c3c4",
3
+ "version": "0.21.2-ef624aa",
4
4
  "repository": "https://github.com/drizzle-team/drizzle-kit-mirror",
5
5
  "author": "Drizzle Team",
6
6
  "license": "MIT",
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 \`${tableName}\` ADD \`${name2}\` ${type}${primaryKeyStatement}${defaultStatement}${notNullStatement}${referenceStatement};`;
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 \`${tableName}\` ADD \`${name2}\` ${type}${primaryKeyStatement}${defaultStatement}${notNullStatement}${referenceStatement};`;
14028
+ return `ALTER TABLE ${tableName} ADD \`${name2}\` ${type}${primaryKeyStatement}${defaultStatement}${notNullStatement}${referenceStatement};`;
14029
14029
  }
14030
14030
  };
14031
14031
  PgAlterTableAlterColumnSetTypeConvertor = class extends Convertor {