drizzle-kit 0.20.17-56cc78f → 0.20.17-571b8f9

Sign up to get free protection for your applications and to get access to all the features.
package/bin.cjs CHANGED
@@ -8661,7 +8661,7 @@ var init_cli = __esm({
8661
8661
  dialect: dialect3,
8662
8662
  schema: unionType([stringType(), stringType().array()]).optional(),
8663
8663
  tablesFilter: unionType([stringType(), stringType().array()]).optional(),
8664
- schemaFilters: unionType([stringType(), stringType().array()]).optional().default(["public"]),
8664
+ schemaFilter: unionType([stringType(), stringType().array()]).optional().default(["public"]),
8665
8665
  driver: stringType().optional(),
8666
8666
  // pg
8667
8667
  connectionString: stringType().optional(),
@@ -14475,7 +14475,7 @@ var init_utils4 = __esm({
14475
14475
  }
14476
14476
  const tablesFilterConfig = config.tablesFilter;
14477
14477
  const tablesFilter = tablesFilterConfig ? typeof tablesFilterConfig === "string" ? [tablesFilterConfig] : tablesFilterConfig : [];
14478
- const schemasFilterConfig = config.schemaFilters;
14478
+ const schemasFilterConfig = config.schemaFilter;
14479
14479
  const schemasFilter = schemasFilterConfig ? typeof schemasFilterConfig === "string" ? [schemasFilterConfig] : schemasFilterConfig : [];
14480
14480
  if (dialect7 === "postgresql") {
14481
14481
  const parsed = postgresCredentials.safeParse(config);
@@ -103973,8 +103973,8 @@ var init_introspect_pg = __esm({
103973
103973
  import { sql } from "drizzle-orm"
103974
103974
 
103975
103975
  `;
103976
- let decalrations = enumStatements;
103977
- decalrations += schemaStatements;
103976
+ let decalrations = schemaStatements;
103977
+ decalrations += enumStatements;
103978
103978
  decalrations += "\n";
103979
103979
  decalrations += tableStatements.join("\n\n");
103980
103980
  const file = importsTs + decalrations;
@@ -29,7 +29,7 @@ export declare const pushParams: import("zod").ZodObject<{
29
29
  dialect: import("zod").ZodEnum<["postgresql", "mysql", "sqlite"]>;
30
30
  schema: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>;
31
31
  tablesFilter: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>;
32
- schemaFilters: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>>;
32
+ schemaFilter: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>>;
33
33
  driver: import("zod").ZodOptional<import("zod").ZodString>;
34
34
  connectionString: import("zod").ZodOptional<import("zod").ZodString>;
35
35
  uri: import("zod").ZodOptional<import("zod").ZodString>;
@@ -60,7 +60,7 @@ export declare const pushParams: import("zod").ZodObject<{
60
60
  tablesFilter?: string | string[] | undefined;
61
61
  verbose?: boolean | undefined;
62
62
  dialect: "mysql" | "postgresql" | "sqlite";
63
- schemaFilters: string | string[];
63
+ schemaFilter: string | string[];
64
64
  }, {
65
65
  strict?: boolean | undefined;
66
66
  schema?: string | string[] | undefined;
@@ -76,8 +76,8 @@ export declare const pushParams: import("zod").ZodObject<{
76
76
  ssl?: string | undefined;
77
77
  authToken?: string | undefined;
78
78
  tablesFilter?: string | string[] | undefined;
79
+ schemaFilter?: string | string[] | undefined;
79
80
  verbose?: boolean | undefined;
80
- schemaFilters?: string | string[] | undefined;
81
81
  dialect: "mysql" | "postgresql" | "sqlite";
82
82
  }>;
83
83
  export type PushParams = TypeOf<typeof pushParams>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "drizzle-kit",
3
- "version": "0.20.17-56cc78f",
3
+ "version": "0.20.17-571b8f9",
4
4
  "repository": "https://github.com/drizzle-team/drizzle-kit-mirror",
5
5
  "author": "Drizzle Team",
6
6
  "license": "MIT",
package/payload.js CHANGED
@@ -5511,7 +5511,7 @@ var init_cli = __esm({
5511
5511
  dialect: dialect3,
5512
5512
  schema: unionType([stringType(), stringType().array()]).optional(),
5513
5513
  tablesFilter: unionType([stringType(), stringType().array()]).optional(),
5514
- schemaFilters: unionType([stringType(), stringType().array()]).optional().default(["public"]),
5514
+ schemaFilter: unionType([stringType(), stringType().array()]).optional().default(["public"]),
5515
5515
  driver: stringType().optional(),
5516
5516
  // pg
5517
5517
  connectionString: stringType().optional(),
package/payload.mjs CHANGED
@@ -5517,7 +5517,7 @@ var init_cli = __esm({
5517
5517
  dialect: dialect3,
5518
5518
  schema: unionType([stringType(), stringType().array()]).optional(),
5519
5519
  tablesFilter: unionType([stringType(), stringType().array()]).optional(),
5520
- schemaFilters: unionType([stringType(), stringType().array()]).optional().default(["public"]),
5520
+ schemaFilter: unionType([stringType(), stringType().array()]).optional().default(["public"]),
5521
5521
  driver: stringType().optional(),
5522
5522
  // pg
5523
5523
  connectionString: stringType().optional(),