drizzle-kit 0.21.4 → 0.22.0-18d9643
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/bin.cjs +1256 -526
- package/index.d.mts +6 -11
- package/index.d.ts +6 -11
- package/package.json +4 -4
- package/payload.d.mts +188 -20
- package/payload.d.ts +188 -20
- package/payload.js +2477 -1404
- package/payload.mjs +2507 -1425
- package/utils-studio.js +297 -31
- package/utils-studio.mjs +297 -31
- package/utils.js +141 -10
- package/utils.mjs +140 -10
package/index.d.mts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { SslOptions } from 'mysql2';
|
|
2
2
|
import * as zod from 'zod';
|
|
3
3
|
import { TypeOf } from 'zod';
|
|
4
|
+
import { ConnectionOptions } from 'tls';
|
|
4
5
|
|
|
5
|
-
declare const driver: zod.ZodUnion<[zod.ZodUnion<[zod.ZodLiteral<"
|
|
6
|
+
declare const driver: zod.ZodUnion<[zod.ZodUnion<readonly [zod.ZodLiteral<"turso">, zod.ZodLiteral<"d1-http">, zod.ZodLiteral<"expo">]>, zod.ZodLiteral<"aws-data-api">, zod.ZodLiteral<"mysql2">]>;
|
|
6
7
|
type Driver = TypeOf<typeof driver>;
|
|
7
8
|
|
|
8
9
|
declare const dialect: zod.ZodEnum<["postgresql", "mysql", "sqlite"]>;
|
|
@@ -107,6 +108,7 @@ type Config = {
|
|
|
107
108
|
out?: string;
|
|
108
109
|
breakpoints?: boolean;
|
|
109
110
|
tablesFilter?: string | string[];
|
|
111
|
+
extensionsFilters?: "postgis"[];
|
|
110
112
|
schemaFilter?: string | string[];
|
|
111
113
|
schema?: string | string[];
|
|
112
114
|
verbose?: boolean;
|
|
@@ -132,14 +134,14 @@ type Config = {
|
|
|
132
134
|
};
|
|
133
135
|
} | {
|
|
134
136
|
dialect: Verify<Dialect, "postgresql">;
|
|
135
|
-
dbCredentials: {
|
|
137
|
+
dbCredentials: ({
|
|
136
138
|
host: string;
|
|
137
139
|
port?: number;
|
|
138
140
|
user?: string;
|
|
139
141
|
password?: string;
|
|
140
142
|
database: string;
|
|
141
|
-
ssl?: boolean;
|
|
142
|
-
} | {
|
|
143
|
+
ssl?: boolean | "require" | "allow" | "prefer" | "verify-full" | ConnectionOptions;
|
|
144
|
+
} & {}) | {
|
|
143
145
|
url: string;
|
|
144
146
|
};
|
|
145
147
|
} | {
|
|
@@ -162,13 +164,6 @@ type Config = {
|
|
|
162
164
|
} | {
|
|
163
165
|
url: string;
|
|
164
166
|
};
|
|
165
|
-
} | {
|
|
166
|
-
dialect: Verify<Dialect, "sqlite">;
|
|
167
|
-
driver: Verify<Driver, "d1">;
|
|
168
|
-
dbCredentials: {
|
|
169
|
-
wranglerConfigPath: string;
|
|
170
|
-
dbName: string;
|
|
171
|
-
};
|
|
172
167
|
} | {
|
|
173
168
|
dialect: Verify<Dialect, "sqlite">;
|
|
174
169
|
driver: Verify<Driver, "d1-http">;
|
package/index.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { SslOptions } from 'mysql2';
|
|
2
2
|
import * as zod from 'zod';
|
|
3
3
|
import { TypeOf } from 'zod';
|
|
4
|
+
import { ConnectionOptions } from 'tls';
|
|
4
5
|
|
|
5
|
-
declare const driver: zod.ZodUnion<[zod.ZodUnion<[zod.ZodLiteral<"
|
|
6
|
+
declare const driver: zod.ZodUnion<[zod.ZodUnion<readonly [zod.ZodLiteral<"turso">, zod.ZodLiteral<"d1-http">, zod.ZodLiteral<"expo">]>, zod.ZodLiteral<"aws-data-api">, zod.ZodLiteral<"mysql2">]>;
|
|
6
7
|
type Driver = TypeOf<typeof driver>;
|
|
7
8
|
|
|
8
9
|
declare const dialect: zod.ZodEnum<["postgresql", "mysql", "sqlite"]>;
|
|
@@ -107,6 +108,7 @@ type Config = {
|
|
|
107
108
|
out?: string;
|
|
108
109
|
breakpoints?: boolean;
|
|
109
110
|
tablesFilter?: string | string[];
|
|
111
|
+
extensionsFilters?: "postgis"[];
|
|
110
112
|
schemaFilter?: string | string[];
|
|
111
113
|
schema?: string | string[];
|
|
112
114
|
verbose?: boolean;
|
|
@@ -132,14 +134,14 @@ type Config = {
|
|
|
132
134
|
};
|
|
133
135
|
} | {
|
|
134
136
|
dialect: Verify<Dialect, "postgresql">;
|
|
135
|
-
dbCredentials: {
|
|
137
|
+
dbCredentials: ({
|
|
136
138
|
host: string;
|
|
137
139
|
port?: number;
|
|
138
140
|
user?: string;
|
|
139
141
|
password?: string;
|
|
140
142
|
database: string;
|
|
141
|
-
ssl?: boolean;
|
|
142
|
-
} | {
|
|
143
|
+
ssl?: boolean | "require" | "allow" | "prefer" | "verify-full" | ConnectionOptions;
|
|
144
|
+
} & {}) | {
|
|
143
145
|
url: string;
|
|
144
146
|
};
|
|
145
147
|
} | {
|
|
@@ -162,13 +164,6 @@ type Config = {
|
|
|
162
164
|
} | {
|
|
163
165
|
url: string;
|
|
164
166
|
};
|
|
165
|
-
} | {
|
|
166
|
-
dialect: Verify<Dialect, "sqlite">;
|
|
167
|
-
driver: Verify<Driver, "d1">;
|
|
168
|
-
dbCredentials: {
|
|
169
|
-
wranglerConfigPath: string;
|
|
170
|
-
dbName: string;
|
|
171
|
-
};
|
|
172
167
|
} | {
|
|
173
168
|
dialect: Verify<Dialect, "sqlite">;
|
|
174
169
|
driver: Verify<Driver, "d1-http">;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "drizzle-kit",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.22.0-18d9643",
|
|
4
4
|
"repository": "https://github.com/drizzle-team/drizzle-kit-mirror",
|
|
5
5
|
"author": "Drizzle Team",
|
|
6
6
|
"license": "MIT",
|
|
@@ -60,8 +60,8 @@
|
|
|
60
60
|
"chalk": "^5.2.0",
|
|
61
61
|
"dockerode": "^3.3.4",
|
|
62
62
|
"dotenv": "^16.0.3",
|
|
63
|
-
"drizzle-kit": "0.
|
|
64
|
-
"drizzle-orm": "0.
|
|
63
|
+
"drizzle-kit": "0.21.2",
|
|
64
|
+
"drizzle-orm": "0.31.0-6df4b83",
|
|
65
65
|
"esbuild-node-externals": "^1.9.0",
|
|
66
66
|
"eslint": "^8.57.0",
|
|
67
67
|
"eslint-config-prettier": "^9.1.0",
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
"minimatch": "^7.4.3",
|
|
72
72
|
"mysql2": "2.3.3",
|
|
73
73
|
"node-fetch": "^3.3.2",
|
|
74
|
-
"pg": "^8.11.
|
|
74
|
+
"pg": "^8.11.5",
|
|
75
75
|
"pluralize": "^8.0.0",
|
|
76
76
|
"postgres": "^3.4.4",
|
|
77
77
|
"prettier": "^2.8.1",
|
package/payload.d.mts
CHANGED
|
@@ -5,7 +5,7 @@ import { MySql2Database } from 'drizzle-orm/mysql2';
|
|
|
5
5
|
import { BetterSQLite3Database } from 'drizzle-orm/better-sqlite3';
|
|
6
6
|
|
|
7
7
|
declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
8
|
-
version: zod.ZodLiteral<"
|
|
8
|
+
version: zod.ZodLiteral<"7">;
|
|
9
9
|
dialect: zod.ZodLiteral<"postgresql">;
|
|
10
10
|
tables: zod.ZodRecord<zod.ZodString, zod.ZodObject<{
|
|
11
11
|
name: zod.ZodString;
|
|
@@ -43,16 +43,58 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
|
43
43
|
}>>;
|
|
44
44
|
indexes: zod.ZodRecord<zod.ZodString, zod.ZodObject<{
|
|
45
45
|
name: zod.ZodString;
|
|
46
|
-
columns: zod.ZodArray<zod.
|
|
46
|
+
columns: zod.ZodArray<zod.ZodObject<{
|
|
47
|
+
expression: zod.ZodString;
|
|
48
|
+
isExpression: zod.ZodBoolean;
|
|
49
|
+
asc: zod.ZodBoolean;
|
|
50
|
+
nulls: zod.ZodOptional<zod.ZodString>;
|
|
51
|
+
opclass: zod.ZodOptional<zod.ZodString>;
|
|
52
|
+
}, "strip", zod.ZodTypeAny, {
|
|
53
|
+
isExpression: boolean;
|
|
54
|
+
expression: string;
|
|
55
|
+
asc: boolean;
|
|
56
|
+
nulls?: string | undefined;
|
|
57
|
+
opclass?: string | undefined;
|
|
58
|
+
}, {
|
|
59
|
+
isExpression: boolean;
|
|
60
|
+
expression: string;
|
|
61
|
+
asc: boolean;
|
|
62
|
+
nulls?: string | undefined;
|
|
63
|
+
opclass?: string | undefined;
|
|
64
|
+
}>, "many">;
|
|
47
65
|
isUnique: zod.ZodBoolean;
|
|
66
|
+
with: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodAny>>;
|
|
67
|
+
method: zod.ZodDefault<zod.ZodString>;
|
|
68
|
+
where: zod.ZodOptional<zod.ZodString>;
|
|
69
|
+
concurrently: zod.ZodDefault<zod.ZodBoolean>;
|
|
48
70
|
}, "strict", zod.ZodTypeAny, {
|
|
49
71
|
name: string;
|
|
50
|
-
columns:
|
|
72
|
+
columns: {
|
|
73
|
+
isExpression: boolean;
|
|
74
|
+
expression: string;
|
|
75
|
+
asc: boolean;
|
|
76
|
+
nulls?: string | undefined;
|
|
77
|
+
opclass?: string | undefined;
|
|
78
|
+
}[];
|
|
51
79
|
isUnique: boolean;
|
|
80
|
+
method: string;
|
|
81
|
+
concurrently: boolean;
|
|
82
|
+
with?: Record<string, any> | undefined;
|
|
83
|
+
where?: string | undefined;
|
|
52
84
|
}, {
|
|
53
85
|
name: string;
|
|
54
|
-
columns:
|
|
86
|
+
columns: {
|
|
87
|
+
isExpression: boolean;
|
|
88
|
+
expression: string;
|
|
89
|
+
asc: boolean;
|
|
90
|
+
nulls?: string | undefined;
|
|
91
|
+
opclass?: string | undefined;
|
|
92
|
+
}[];
|
|
55
93
|
isUnique: boolean;
|
|
94
|
+
with?: Record<string, any> | undefined;
|
|
95
|
+
method?: string | undefined;
|
|
96
|
+
where?: string | undefined;
|
|
97
|
+
concurrently?: boolean | undefined;
|
|
56
98
|
}>>;
|
|
57
99
|
foreignKeys: zod.ZodRecord<zod.ZodString, zod.ZodObject<{
|
|
58
100
|
name: zod.ZodString;
|
|
@@ -120,8 +162,18 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
|
120
162
|
}>;
|
|
121
163
|
indexes: Record<string, {
|
|
122
164
|
name: string;
|
|
123
|
-
columns:
|
|
165
|
+
columns: {
|
|
166
|
+
isExpression: boolean;
|
|
167
|
+
expression: string;
|
|
168
|
+
asc: boolean;
|
|
169
|
+
nulls?: string | undefined;
|
|
170
|
+
opclass?: string | undefined;
|
|
171
|
+
}[];
|
|
124
172
|
isUnique: boolean;
|
|
173
|
+
method: string;
|
|
174
|
+
concurrently: boolean;
|
|
175
|
+
with?: Record<string, any> | undefined;
|
|
176
|
+
where?: string | undefined;
|
|
125
177
|
}>;
|
|
126
178
|
foreignKeys: Record<string, {
|
|
127
179
|
name: string;
|
|
@@ -158,8 +210,18 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
|
158
210
|
}>;
|
|
159
211
|
indexes: Record<string, {
|
|
160
212
|
name: string;
|
|
161
|
-
columns:
|
|
213
|
+
columns: {
|
|
214
|
+
isExpression: boolean;
|
|
215
|
+
expression: string;
|
|
216
|
+
asc: boolean;
|
|
217
|
+
nulls?: string | undefined;
|
|
218
|
+
opclass?: string | undefined;
|
|
219
|
+
}[];
|
|
162
220
|
isUnique: boolean;
|
|
221
|
+
with?: Record<string, any> | undefined;
|
|
222
|
+
method?: string | undefined;
|
|
223
|
+
where?: string | undefined;
|
|
224
|
+
concurrently?: boolean | undefined;
|
|
163
225
|
}>;
|
|
164
226
|
foreignKeys: Record<string, {
|
|
165
227
|
name: string;
|
|
@@ -273,8 +335,18 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
|
273
335
|
}>;
|
|
274
336
|
indexes: Record<string, {
|
|
275
337
|
name: string;
|
|
276
|
-
columns:
|
|
338
|
+
columns: {
|
|
339
|
+
isExpression: boolean;
|
|
340
|
+
expression: string;
|
|
341
|
+
asc: boolean;
|
|
342
|
+
nulls?: string | undefined;
|
|
343
|
+
opclass?: string | undefined;
|
|
344
|
+
}[];
|
|
277
345
|
isUnique: boolean;
|
|
346
|
+
method: string;
|
|
347
|
+
concurrently: boolean;
|
|
348
|
+
with?: Record<string, any> | undefined;
|
|
349
|
+
where?: string | undefined;
|
|
278
350
|
}>;
|
|
279
351
|
foreignKeys: Record<string, {
|
|
280
352
|
name: string;
|
|
@@ -299,7 +371,7 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
|
299
371
|
}>;
|
|
300
372
|
id: string;
|
|
301
373
|
prevId: string;
|
|
302
|
-
version: "
|
|
374
|
+
version: "7";
|
|
303
375
|
dialect: "postgresql";
|
|
304
376
|
schemas: Record<string, string>;
|
|
305
377
|
_meta: {
|
|
@@ -337,8 +409,18 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
|
337
409
|
}>;
|
|
338
410
|
indexes: Record<string, {
|
|
339
411
|
name: string;
|
|
340
|
-
columns:
|
|
412
|
+
columns: {
|
|
413
|
+
isExpression: boolean;
|
|
414
|
+
expression: string;
|
|
415
|
+
asc: boolean;
|
|
416
|
+
nulls?: string | undefined;
|
|
417
|
+
opclass?: string | undefined;
|
|
418
|
+
}[];
|
|
341
419
|
isUnique: boolean;
|
|
420
|
+
with?: Record<string, any> | undefined;
|
|
421
|
+
method?: string | undefined;
|
|
422
|
+
where?: string | undefined;
|
|
423
|
+
concurrently?: boolean | undefined;
|
|
342
424
|
}>;
|
|
343
425
|
foreignKeys: Record<string, {
|
|
344
426
|
name: string;
|
|
@@ -363,7 +445,7 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
|
363
445
|
}>;
|
|
364
446
|
id: string;
|
|
365
447
|
prevId: string;
|
|
366
|
-
version: "
|
|
448
|
+
version: "7";
|
|
367
449
|
dialect: "postgresql";
|
|
368
450
|
schemas: Record<string, string>;
|
|
369
451
|
_meta: {
|
|
@@ -554,6 +636,37 @@ declare const schema$1: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
|
554
636
|
columns: Record<string, string>;
|
|
555
637
|
tables: Record<string, string>;
|
|
556
638
|
}>;
|
|
639
|
+
internal: zod.ZodOptional<zod.ZodObject<{
|
|
640
|
+
indexes: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodOptional<zod.ZodObject<{
|
|
641
|
+
columns: zod.ZodRecord<zod.ZodString, zod.ZodOptional<zod.ZodObject<{
|
|
642
|
+
isExpression: zod.ZodOptional<zod.ZodBoolean>;
|
|
643
|
+
}, "strip", zod.ZodTypeAny, {
|
|
644
|
+
isExpression?: boolean | undefined;
|
|
645
|
+
}, {
|
|
646
|
+
isExpression?: boolean | undefined;
|
|
647
|
+
}>>>;
|
|
648
|
+
}, "strip", zod.ZodTypeAny, {
|
|
649
|
+
columns: Record<string, {
|
|
650
|
+
isExpression?: boolean | undefined;
|
|
651
|
+
} | undefined>;
|
|
652
|
+
}, {
|
|
653
|
+
columns: Record<string, {
|
|
654
|
+
isExpression?: boolean | undefined;
|
|
655
|
+
} | undefined>;
|
|
656
|
+
}>>>>;
|
|
657
|
+
}, "strip", zod.ZodTypeAny, {
|
|
658
|
+
indexes?: Record<string, {
|
|
659
|
+
columns: Record<string, {
|
|
660
|
+
isExpression?: boolean | undefined;
|
|
661
|
+
} | undefined>;
|
|
662
|
+
} | undefined> | undefined;
|
|
663
|
+
}, {
|
|
664
|
+
indexes?: Record<string, {
|
|
665
|
+
columns: Record<string, {
|
|
666
|
+
isExpression?: boolean | undefined;
|
|
667
|
+
} | undefined>;
|
|
668
|
+
} | undefined> | undefined;
|
|
669
|
+
}>>;
|
|
557
670
|
}, {
|
|
558
671
|
id: zod.ZodString;
|
|
559
672
|
prevId: zod.ZodString;
|
|
@@ -601,6 +714,13 @@ declare const schema$1: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
|
601
714
|
tables: Record<string, string>;
|
|
602
715
|
};
|
|
603
716
|
enums: {};
|
|
717
|
+
internal?: {
|
|
718
|
+
indexes?: Record<string, {
|
|
719
|
+
columns: Record<string, {
|
|
720
|
+
isExpression?: boolean | undefined;
|
|
721
|
+
} | undefined>;
|
|
722
|
+
} | undefined> | undefined;
|
|
723
|
+
} | undefined;
|
|
604
724
|
}, {
|
|
605
725
|
tables: Record<string, {
|
|
606
726
|
name: string;
|
|
@@ -645,6 +765,13 @@ declare const schema$1: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
|
645
765
|
tables: Record<string, string>;
|
|
646
766
|
};
|
|
647
767
|
enums: {};
|
|
768
|
+
internal?: {
|
|
769
|
+
indexes?: Record<string, {
|
|
770
|
+
columns: Record<string, {
|
|
771
|
+
isExpression?: boolean | undefined;
|
|
772
|
+
} | undefined>;
|
|
773
|
+
} | undefined> | undefined;
|
|
774
|
+
} | undefined;
|
|
648
775
|
}>;
|
|
649
776
|
type SQLiteSchema = TypeOf<typeof schema$1>;
|
|
650
777
|
|
|
@@ -829,7 +956,7 @@ declare const schema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
|
829
956
|
tables: Record<string, string>;
|
|
830
957
|
}>;
|
|
831
958
|
internal: zod.ZodOptional<zod.ZodObject<{
|
|
832
|
-
tables: zod.ZodRecord<zod.ZodString, zod.ZodOptional<zod.ZodObject<{
|
|
959
|
+
tables: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodOptional<zod.ZodObject<{
|
|
833
960
|
columns: zod.ZodRecord<zod.ZodString, zod.ZodOptional<zod.ZodObject<{
|
|
834
961
|
isDefaultAnExpression: zod.ZodOptional<zod.ZodBoolean>;
|
|
835
962
|
}, "strip", zod.ZodTypeAny, {
|
|
@@ -845,19 +972,46 @@ declare const schema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
|
845
972
|
columns: Record<string, {
|
|
846
973
|
isDefaultAnExpression?: boolean | undefined;
|
|
847
974
|
} | undefined>;
|
|
848
|
-
}
|
|
975
|
+
}>>>>;
|
|
976
|
+
indexes: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodOptional<zod.ZodObject<{
|
|
977
|
+
columns: zod.ZodRecord<zod.ZodString, zod.ZodOptional<zod.ZodObject<{
|
|
978
|
+
isExpression: zod.ZodOptional<zod.ZodBoolean>;
|
|
979
|
+
}, "strip", zod.ZodTypeAny, {
|
|
980
|
+
isExpression?: boolean | undefined;
|
|
981
|
+
}, {
|
|
982
|
+
isExpression?: boolean | undefined;
|
|
983
|
+
}>>>;
|
|
984
|
+
}, "strip", zod.ZodTypeAny, {
|
|
985
|
+
columns: Record<string, {
|
|
986
|
+
isExpression?: boolean | undefined;
|
|
987
|
+
} | undefined>;
|
|
988
|
+
}, {
|
|
989
|
+
columns: Record<string, {
|
|
990
|
+
isExpression?: boolean | undefined;
|
|
991
|
+
} | undefined>;
|
|
992
|
+
}>>>>;
|
|
849
993
|
}, "strip", zod.ZodTypeAny, {
|
|
850
|
-
|
|
994
|
+
indexes?: Record<string, {
|
|
995
|
+
columns: Record<string, {
|
|
996
|
+
isExpression?: boolean | undefined;
|
|
997
|
+
} | undefined>;
|
|
998
|
+
} | undefined> | undefined;
|
|
999
|
+
tables?: Record<string, {
|
|
851
1000
|
columns: Record<string, {
|
|
852
1001
|
isDefaultAnExpression?: boolean | undefined;
|
|
853
1002
|
} | undefined>;
|
|
854
|
-
} | undefined
|
|
1003
|
+
} | undefined> | undefined;
|
|
855
1004
|
}, {
|
|
856
|
-
|
|
1005
|
+
indexes?: Record<string, {
|
|
1006
|
+
columns: Record<string, {
|
|
1007
|
+
isExpression?: boolean | undefined;
|
|
1008
|
+
} | undefined>;
|
|
1009
|
+
} | undefined> | undefined;
|
|
1010
|
+
tables?: Record<string, {
|
|
857
1011
|
columns: Record<string, {
|
|
858
1012
|
isDefaultAnExpression?: boolean | undefined;
|
|
859
1013
|
} | undefined>;
|
|
860
|
-
} | undefined
|
|
1014
|
+
} | undefined> | undefined;
|
|
861
1015
|
}>>;
|
|
862
1016
|
}, {
|
|
863
1017
|
id: zod.ZodString;
|
|
@@ -909,11 +1063,16 @@ declare const schema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
|
909
1063
|
tables: Record<string, string>;
|
|
910
1064
|
};
|
|
911
1065
|
internal?: {
|
|
912
|
-
|
|
1066
|
+
indexes?: Record<string, {
|
|
1067
|
+
columns: Record<string, {
|
|
1068
|
+
isExpression?: boolean | undefined;
|
|
1069
|
+
} | undefined>;
|
|
1070
|
+
} | undefined> | undefined;
|
|
1071
|
+
tables?: Record<string, {
|
|
913
1072
|
columns: Record<string, {
|
|
914
1073
|
isDefaultAnExpression?: boolean | undefined;
|
|
915
1074
|
} | undefined>;
|
|
916
|
-
} | undefined
|
|
1075
|
+
} | undefined> | undefined;
|
|
917
1076
|
} | undefined;
|
|
918
1077
|
}, {
|
|
919
1078
|
tables: Record<string, {
|
|
@@ -962,11 +1121,16 @@ declare const schema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
|
962
1121
|
tables: Record<string, string>;
|
|
963
1122
|
};
|
|
964
1123
|
internal?: {
|
|
965
|
-
|
|
1124
|
+
indexes?: Record<string, {
|
|
1125
|
+
columns: Record<string, {
|
|
1126
|
+
isExpression?: boolean | undefined;
|
|
1127
|
+
} | undefined>;
|
|
1128
|
+
} | undefined> | undefined;
|
|
1129
|
+
tables?: Record<string, {
|
|
966
1130
|
columns: Record<string, {
|
|
967
1131
|
isDefaultAnExpression?: boolean | undefined;
|
|
968
1132
|
} | undefined>;
|
|
969
|
-
} | undefined
|
|
1133
|
+
} | undefined> | undefined;
|
|
970
1134
|
} | undefined;
|
|
971
1135
|
}>;
|
|
972
1136
|
type MySqlSchema = TypeOf<typeof schema>;
|
|
@@ -1019,6 +1183,10 @@ declare const upPgSnapshot: (snapshot: Record<string, unknown>) => {
|
|
|
1019
1183
|
name: string;
|
|
1020
1184
|
columns: string[];
|
|
1021
1185
|
isUnique: boolean;
|
|
1186
|
+
method: string;
|
|
1187
|
+
concurrently: boolean;
|
|
1188
|
+
with?: Record<string, string> | undefined;
|
|
1189
|
+
where?: string | undefined;
|
|
1022
1190
|
}>;
|
|
1023
1191
|
foreignKeys: Record<string, {
|
|
1024
1192
|
name: string;
|