drizzle-kit 0.22.7-129055c → 0.22.7-c146554

Sign up to get free protection for your applications and to get access to all the features.
package/bin.cjs CHANGED
@@ -14044,11 +14044,10 @@ var init_common = __esm({
14044
14044
  schema: unionType([stringType(), stringType().array()]).optional(),
14045
14045
  out: stringType().optional(),
14046
14046
  breakpoints: booleanType().optional().default(true),
14047
- verbose: booleanType().optional().default(false),
14048
14047
  driver: driver.optional(),
14049
14048
  tablesFilter: unionType([stringType(), stringType().array()]).optional(),
14050
14049
  schemaFilter: unionType([stringType(), stringType().array()]).default(["public"]),
14051
- migrations: objectType({
14050
+ database: objectType({
14052
14051
  prefix: prefix.optional().default("index")
14053
14052
  }).optional()
14054
14053
  });
@@ -14413,7 +14412,7 @@ var init_cli = __esm({
14413
14412
  out: stringType().optional().default("./drizzle"),
14414
14413
  config: stringType().optional(),
14415
14414
  name: stringType().optional(),
14416
- prefix: prefix.optional(),
14415
+ prefix: prefix.optional().default("index"),
14417
14416
  breakpoints: booleanType().optional().default(true),
14418
14417
  custom: booleanType().optional().default(false)
14419
14418
  }).strict();
@@ -20173,7 +20172,7 @@ var init_utils4 = __esm({
20173
20172
  dialect: drizzleConfig.dialect,
20174
20173
  name,
20175
20174
  custom: custom2,
20176
- prefix: ((_a = drizzleConfig.migrations) == null ? void 0 : _a.prefix) || prefix2 || "index",
20175
+ prefix: ((_a = drizzleConfig.database) == null ? void 0 : _a.prefix) || prefix2,
20177
20176
  breakpoints: drizzleConfig.breakpoints ?? false,
20178
20177
  schema: drizzleConfig.schema,
20179
20178
  out: drizzleConfig.out || "drizzle",
@@ -20203,7 +20202,7 @@ var init_utils4 = __esm({
20203
20202
  out,
20204
20203
  breakpoints,
20205
20204
  name,
20206
- prefix: prefix2 || "index",
20205
+ prefix: prefix2,
20207
20206
  custom: custom2,
20208
20207
  bundle: false
20209
20208
  };
package/index.d.mts CHANGED
@@ -122,7 +122,7 @@ type Config = {
122
122
  migrations?: {
123
123
  table?: string;
124
124
  schema?: string;
125
- prefix?: Prefix;
125
+ namePrefix?: Prefix;
126
126
  };
127
127
  introspect?: {
128
128
  casing: "camel" | "preserve";
package/index.d.ts CHANGED
@@ -122,7 +122,7 @@ type Config = {
122
122
  migrations?: {
123
123
  table?: string;
124
124
  schema?: string;
125
- prefix?: Prefix;
125
+ namePrefix?: Prefix;
126
126
  };
127
127
  introspect?: {
128
128
  casing: "camel" | "preserve";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "drizzle-kit",
3
- "version": "0.22.7-129055c",
3
+ "version": "0.22.7-c146554",
4
4
  "repository": "https://github.com/drizzle-team/drizzle-kit-mirror",
5
5
  "author": "Drizzle Team",
6
6
  "license": "MIT",
package/payload.js CHANGED
@@ -15705,11 +15705,10 @@ var init_common2 = __esm({
15705
15705
  schema: unionType([stringType(), stringType().array()]).optional(),
15706
15706
  out: stringType().optional(),
15707
15707
  breakpoints: booleanType().optional().default(true),
15708
- verbose: booleanType().optional().default(false),
15709
15708
  driver: driver.optional(),
15710
15709
  tablesFilter: unionType([stringType(), stringType().array()]).optional(),
15711
15710
  schemaFilter: unionType([stringType(), stringType().array()]).default(["public"]),
15712
- migrations: objectType({
15711
+ database: objectType({
15713
15712
  prefix: prefix.optional().default("index")
15714
15713
  }).optional()
15715
15714
  });
@@ -15899,7 +15898,7 @@ var init_cli = __esm({
15899
15898
  out: stringType().optional().default("./drizzle"),
15900
15899
  config: stringType().optional(),
15901
15900
  name: stringType().optional(),
15902
- prefix: prefix.optional(),
15901
+ prefix: prefix.optional().default("index"),
15903
15902
  breakpoints: booleanType().optional().default(true),
15904
15903
  custom: booleanType().optional().default(false)
15905
15904
  }).strict();
package/payload.mjs CHANGED
@@ -15710,11 +15710,10 @@ var init_common2 = __esm({
15710
15710
  schema: unionType([stringType(), stringType().array()]).optional(),
15711
15711
  out: stringType().optional(),
15712
15712
  breakpoints: booleanType().optional().default(true),
15713
- verbose: booleanType().optional().default(false),
15714
15713
  driver: driver.optional(),
15715
15714
  tablesFilter: unionType([stringType(), stringType().array()]).optional(),
15716
15715
  schemaFilter: unionType([stringType(), stringType().array()]).default(["public"]),
15717
- migrations: objectType({
15716
+ database: objectType({
15718
15717
  prefix: prefix.optional().default("index")
15719
15718
  }).optional()
15720
15719
  });
@@ -15904,7 +15903,7 @@ var init_cli = __esm({
15904
15903
  out: stringType().optional().default("./drizzle"),
15905
15904
  config: stringType().optional(),
15906
15905
  name: stringType().optional(),
15907
- prefix: prefix.optional(),
15906
+ prefix: prefix.optional().default("index"),
15908
15907
  breakpoints: booleanType().optional().default(true),
15909
15908
  custom: booleanType().optional().default(false)
15910
15909
  }).strict();