drizzle-kit 1.0.0-beta.4-03f09f7 → 1.0.0-beta.5-1d78369

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/api-mysql.js CHANGED
@@ -19482,6 +19482,14 @@ var init_ddl5 = __esm({
19482
19482
  ]
19483
19483
  // https://www.sqlite.org/pragma.html#pragma_index_list
19484
19484
  },
19485
+ // Names for fk was decided to leave as is after discussion with @AlexBlokh
19486
+ // Discussion was about removing "name" from ts schema
19487
+ //
19488
+ // introspect will parse ddl and find names. Old kit (before beta v1) did not add names to fk in sql migrations
19489
+ // after upping to beta v1 there would be recreate table to correct name for push if name was explicitly set by user
19490
+ //
19491
+ // We already have tests on preserving names after renaming tables/columns
19492
+ // It was important that newcomers would not experience any issues
19485
19493
  fks: {
19486
19494
  table: "required",
19487
19495
  columns: "string[]",
package/api-mysql.mjs CHANGED
@@ -19494,6 +19494,14 @@ var init_ddl5 = __esm({
19494
19494
  ]
19495
19495
  // https://www.sqlite.org/pragma.html#pragma_index_list
19496
19496
  },
19497
+ // Names for fk was decided to leave as is after discussion with @AlexBlokh
19498
+ // Discussion was about removing "name" from ts schema
19499
+ //
19500
+ // introspect will parse ddl and find names. Old kit (before beta v1) did not add names to fk in sql migrations
19501
+ // after upping to beta v1 there would be recreate table to correct name for push if name was explicitly set by user
19502
+ //
19503
+ // We already have tests on preserving names after renaming tables/columns
19504
+ // It was important that newcomers would not experience any issues
19497
19505
  fks: {
19498
19506
  table: "required",
19499
19507
  columns: "string[]",
package/api-postgres.js CHANGED
@@ -21594,6 +21594,14 @@ var init_ddl5 = __esm({
21594
21594
  ]
21595
21595
  // https://www.sqlite.org/pragma.html#pragma_index_list
21596
21596
  },
21597
+ // Names for fk was decided to leave as is after discussion with @AlexBlokh
21598
+ // Discussion was about removing "name" from ts schema
21599
+ //
21600
+ // introspect will parse ddl and find names. Old kit (before beta v1) did not add names to fk in sql migrations
21601
+ // after upping to beta v1 there would be recreate table to correct name for push if name was explicitly set by user
21602
+ //
21603
+ // We already have tests on preserving names after renaming tables/columns
21604
+ // It was important that newcomers would not experience any issues
21597
21605
  fks: {
21598
21606
  table: "required",
21599
21607
  columns: "string[]",
package/api-postgres.mjs CHANGED
@@ -21600,6 +21600,14 @@ var init_ddl5 = __esm({
21600
21600
  ]
21601
21601
  // https://www.sqlite.org/pragma.html#pragma_index_list
21602
21602
  },
21603
+ // Names for fk was decided to leave as is after discussion with @AlexBlokh
21604
+ // Discussion was about removing "name" from ts schema
21605
+ //
21606
+ // introspect will parse ddl and find names. Old kit (before beta v1) did not add names to fk in sql migrations
21607
+ // after upping to beta v1 there would be recreate table to correct name for push if name was explicitly set by user
21608
+ //
21609
+ // We already have tests on preserving names after renaming tables/columns
21610
+ // It was important that newcomers would not experience any issues
21603
21611
  fks: {
21604
21612
  table: "required",
21605
21613
  columns: "string[]",
package/api-sqlite.js CHANGED
@@ -19482,6 +19482,14 @@ var init_ddl5 = __esm({
19482
19482
  ]
19483
19483
  // https://www.sqlite.org/pragma.html#pragma_index_list
19484
19484
  },
19485
+ // Names for fk was decided to leave as is after discussion with @AlexBlokh
19486
+ // Discussion was about removing "name" from ts schema
19487
+ //
19488
+ // introspect will parse ddl and find names. Old kit (before beta v1) did not add names to fk in sql migrations
19489
+ // after upping to beta v1 there would be recreate table to correct name for push if name was explicitly set by user
19490
+ //
19491
+ // We already have tests on preserving names after renaming tables/columns
19492
+ // It was important that newcomers would not experience any issues
19485
19493
  fks: {
19486
19494
  table: "required",
19487
19495
  columns: "string[]",
package/api-sqlite.mjs CHANGED
@@ -19494,6 +19494,14 @@ var init_ddl5 = __esm({
19494
19494
  ]
19495
19495
  // https://www.sqlite.org/pragma.html#pragma_index_list
19496
19496
  },
19497
+ // Names for fk was decided to leave as is after discussion with @AlexBlokh
19498
+ // Discussion was about removing "name" from ts schema
19499
+ //
19500
+ // introspect will parse ddl and find names. Old kit (before beta v1) did not add names to fk in sql migrations
19501
+ // after upping to beta v1 there would be recreate table to correct name for push if name was explicitly set by user
19502
+ //
19503
+ // We already have tests on preserving names after renaming tables/columns
19504
+ // It was important that newcomers would not experience any issues
19497
19505
  fks: {
19498
19506
  table: "required",
19499
19507
  columns: "string[]",
package/bin.cjs CHANGED
@@ -28624,6 +28624,14 @@ var init_ddl5 = __esm({
28624
28624
  ]
28625
28625
  // https://www.sqlite.org/pragma.html#pragma_index_list
28626
28626
  },
28627
+ // Names for fk was decided to leave as is after discussion with @AlexBlokh
28628
+ // Discussion was about removing "name" from ts schema
28629
+ //
28630
+ // introspect will parse ddl and find names. Old kit (before beta v1) did not add names to fk in sql migrations
28631
+ // after upping to beta v1 there would be recreate table to correct name for push if name was explicitly set by user
28632
+ //
28633
+ // We already have tests on preserving names after renaming tables/columns
28634
+ // It was important that newcomers would not experience any issues
28627
28635
  fks: {
28628
28636
  table: "required",
28629
28637
  columns: "string[]",
@@ -182890,7 +182898,7 @@ init_views();
182890
182898
  var version3 = async () => {
182891
182899
  const { npmVersion } = await ormCoreVersions();
182892
182900
  const ormVersion = npmVersion ? `drizzle-orm: v${npmVersion}` : "";
182893
- const envVersion = "1.0.0-beta.4";
182901
+ const envVersion = "1.0.0-beta.5";
182894
182902
  const kitVersion = envVersion ? `v${envVersion}` : "--";
182895
182903
  const versions = `drizzle-kit: ${kitVersion}
182896
182904
  ${ormVersion}`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "drizzle-kit",
3
- "version": "1.0.0-beta.4-03f09f7",
3
+ "version": "1.0.0-beta.5-1d78369",
4
4
  "homepage": "https://orm.drizzle.team",
5
5
  "keywords": [
6
6
  "drizzle",