drizzle-kit 0.25.0-662aa35 → 0.25.0-6764bd8
Sign up to get free protection for your applications and to get access to all the features.
- package/api.d.mts +719 -96
- package/api.d.ts +719 -96
- package/api.js +2417 -1726
- package/api.mjs +2417 -1726
- package/bin.cjs +2043 -1370
- package/index.d.mts +0 -7
- package/index.d.ts +0 -7
- package/package.json +2 -2
- package/utils.js +81 -30
- package/utils.mjs +81 -30
package/api.d.mts
CHANGED
@@ -201,6 +201,98 @@ declare const schema$1: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
201
201
|
columns: string[];
|
202
202
|
}> | undefined;
|
203
203
|
}>>;
|
204
|
+
views: zod.ZodRecord<zod.ZodString, zod.ZodObject<zod.objectUtil.extendShape<{
|
205
|
+
name: zod.ZodString;
|
206
|
+
columns: zod.ZodRecord<zod.ZodString, zod.ZodObject<{
|
207
|
+
name: zod.ZodString;
|
208
|
+
type: zod.ZodString;
|
209
|
+
primaryKey: zod.ZodBoolean;
|
210
|
+
notNull: zod.ZodBoolean;
|
211
|
+
autoincrement: zod.ZodOptional<zod.ZodBoolean>;
|
212
|
+
default: zod.ZodOptional<zod.ZodAny>;
|
213
|
+
onUpdate: zod.ZodOptional<zod.ZodAny>;
|
214
|
+
generated: zod.ZodOptional<zod.ZodObject<{
|
215
|
+
type: zod.ZodEnum<["stored", "virtual"]>;
|
216
|
+
as: zod.ZodString;
|
217
|
+
}, "strip", zod.ZodTypeAny, {
|
218
|
+
type: "stored" | "virtual";
|
219
|
+
as: string;
|
220
|
+
}, {
|
221
|
+
type: "stored" | "virtual";
|
222
|
+
as: string;
|
223
|
+
}>>;
|
224
|
+
}, "strict", zod.ZodTypeAny, {
|
225
|
+
name: string;
|
226
|
+
type: string;
|
227
|
+
primaryKey: boolean;
|
228
|
+
notNull: boolean;
|
229
|
+
default?: any;
|
230
|
+
onUpdate?: any;
|
231
|
+
autoincrement?: boolean | undefined;
|
232
|
+
generated?: {
|
233
|
+
type: "stored" | "virtual";
|
234
|
+
as: string;
|
235
|
+
} | undefined;
|
236
|
+
}, {
|
237
|
+
name: string;
|
238
|
+
type: string;
|
239
|
+
primaryKey: boolean;
|
240
|
+
notNull: boolean;
|
241
|
+
default?: any;
|
242
|
+
onUpdate?: any;
|
243
|
+
autoincrement?: boolean | undefined;
|
244
|
+
generated?: {
|
245
|
+
type: "stored" | "virtual";
|
246
|
+
as: string;
|
247
|
+
} | undefined;
|
248
|
+
}>>;
|
249
|
+
definition: zod.ZodOptional<zod.ZodString>;
|
250
|
+
isExisting: zod.ZodBoolean;
|
251
|
+
}, {
|
252
|
+
algorithm: zod.ZodEnum<["undefined", "merge", "temptable"]>;
|
253
|
+
sqlSecurity: zod.ZodEnum<["definer", "invoker"]>;
|
254
|
+
withCheckOption: zod.ZodOptional<zod.ZodEnum<["local", "cascaded"]>>;
|
255
|
+
}>, "strict", zod.ZodTypeAny, {
|
256
|
+
name: string;
|
257
|
+
columns: Record<string, {
|
258
|
+
name: string;
|
259
|
+
type: string;
|
260
|
+
primaryKey: boolean;
|
261
|
+
notNull: boolean;
|
262
|
+
default?: any;
|
263
|
+
onUpdate?: any;
|
264
|
+
autoincrement?: boolean | undefined;
|
265
|
+
generated?: {
|
266
|
+
type: "stored" | "virtual";
|
267
|
+
as: string;
|
268
|
+
} | undefined;
|
269
|
+
}>;
|
270
|
+
algorithm: "undefined" | "merge" | "temptable";
|
271
|
+
sqlSecurity: "definer" | "invoker";
|
272
|
+
isExisting: boolean;
|
273
|
+
withCheckOption?: "local" | "cascaded" | undefined;
|
274
|
+
definition?: string | undefined;
|
275
|
+
}, {
|
276
|
+
name: string;
|
277
|
+
columns: Record<string, {
|
278
|
+
name: string;
|
279
|
+
type: string;
|
280
|
+
primaryKey: boolean;
|
281
|
+
notNull: boolean;
|
282
|
+
default?: any;
|
283
|
+
onUpdate?: any;
|
284
|
+
autoincrement?: boolean | undefined;
|
285
|
+
generated?: {
|
286
|
+
type: "stored" | "virtual";
|
287
|
+
as: string;
|
288
|
+
} | undefined;
|
289
|
+
}>;
|
290
|
+
algorithm: "undefined" | "merge" | "temptable";
|
291
|
+
sqlSecurity: "definer" | "invoker";
|
292
|
+
isExisting: boolean;
|
293
|
+
withCheckOption?: "local" | "cascaded" | undefined;
|
294
|
+
definition?: string | undefined;
|
295
|
+
}>>;
|
204
296
|
_meta: zod.ZodObject<{
|
205
297
|
tables: zod.ZodRecord<zod.ZodString, zod.ZodString>;
|
206
298
|
columns: zod.ZodRecord<zod.ZodString, zod.ZodString>;
|
@@ -322,6 +414,27 @@ declare const schema$1: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
322
414
|
columns: Record<string, string>;
|
323
415
|
tables: Record<string, string>;
|
324
416
|
};
|
417
|
+
views: Record<string, {
|
418
|
+
name: string;
|
419
|
+
columns: Record<string, {
|
420
|
+
name: string;
|
421
|
+
type: string;
|
422
|
+
primaryKey: boolean;
|
423
|
+
notNull: boolean;
|
424
|
+
default?: any;
|
425
|
+
onUpdate?: any;
|
426
|
+
autoincrement?: boolean | undefined;
|
427
|
+
generated?: {
|
428
|
+
type: "stored" | "virtual";
|
429
|
+
as: string;
|
430
|
+
} | undefined;
|
431
|
+
}>;
|
432
|
+
algorithm: "undefined" | "merge" | "temptable";
|
433
|
+
sqlSecurity: "definer" | "invoker";
|
434
|
+
isExisting: boolean;
|
435
|
+
withCheckOption?: "local" | "cascaded" | undefined;
|
436
|
+
definition?: string | undefined;
|
437
|
+
}>;
|
325
438
|
internal?: {
|
326
439
|
indexes?: Record<string, {
|
327
440
|
columns: Record<string, {
|
@@ -384,6 +497,27 @@ declare const schema$1: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
384
497
|
columns: Record<string, string>;
|
385
498
|
tables: Record<string, string>;
|
386
499
|
};
|
500
|
+
views: Record<string, {
|
501
|
+
name: string;
|
502
|
+
columns: Record<string, {
|
503
|
+
name: string;
|
504
|
+
type: string;
|
505
|
+
primaryKey: boolean;
|
506
|
+
notNull: boolean;
|
507
|
+
default?: any;
|
508
|
+
onUpdate?: any;
|
509
|
+
autoincrement?: boolean | undefined;
|
510
|
+
generated?: {
|
511
|
+
type: "stored" | "virtual";
|
512
|
+
as: string;
|
513
|
+
} | undefined;
|
514
|
+
}>;
|
515
|
+
algorithm: "undefined" | "merge" | "temptable";
|
516
|
+
sqlSecurity: "definer" | "invoker";
|
517
|
+
isExisting: boolean;
|
518
|
+
withCheckOption?: "local" | "cascaded" | undefined;
|
519
|
+
definition?: string | undefined;
|
520
|
+
}>;
|
387
521
|
internal?: {
|
388
522
|
indexes?: Record<string, {
|
389
523
|
columns: Record<string, {
|
@@ -614,28 +748,6 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
614
748
|
columns: string[];
|
615
749
|
nullsNotDistinct: boolean;
|
616
750
|
}>>>;
|
617
|
-
policies: zod.ZodDefault<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
|
618
|
-
name: zod.ZodString;
|
619
|
-
as: zod.ZodOptional<zod.ZodEnum<["PERMISSIVE", "RESTRICTIVE"]>>;
|
620
|
-
for: zod.ZodOptional<zod.ZodEnum<["ALL", "SELECT", "INSERT", "UPDATE", "DELETE"]>>;
|
621
|
-
to: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
|
622
|
-
using: zod.ZodOptional<zod.ZodString>;
|
623
|
-
withCheck: zod.ZodOptional<zod.ZodString>;
|
624
|
-
}, "strict", zod.ZodTypeAny, {
|
625
|
-
name: string;
|
626
|
-
using?: string | undefined;
|
627
|
-
as?: "PERMISSIVE" | "RESTRICTIVE" | undefined;
|
628
|
-
for?: "ALL" | "SELECT" | "INSERT" | "UPDATE" | "DELETE" | undefined;
|
629
|
-
to?: string[] | undefined;
|
630
|
-
withCheck?: string | undefined;
|
631
|
-
}, {
|
632
|
-
name: string;
|
633
|
-
using?: string | undefined;
|
634
|
-
as?: "PERMISSIVE" | "RESTRICTIVE" | undefined;
|
635
|
-
for?: "ALL" | "SELECT" | "INSERT" | "UPDATE" | "DELETE" | undefined;
|
636
|
-
to?: string[] | undefined;
|
637
|
-
withCheck?: string | undefined;
|
638
|
-
}>>>;
|
639
751
|
}, "strict", zod.ZodTypeAny, {
|
640
752
|
name: string;
|
641
753
|
columns: Record<string, {
|
@@ -699,14 +811,6 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
699
811
|
columns: string[];
|
700
812
|
nullsNotDistinct: boolean;
|
701
813
|
}>;
|
702
|
-
policies: Record<string, {
|
703
|
-
name: string;
|
704
|
-
using?: string | undefined;
|
705
|
-
as?: "PERMISSIVE" | "RESTRICTIVE" | undefined;
|
706
|
-
for?: "ALL" | "SELECT" | "INSERT" | "UPDATE" | "DELETE" | undefined;
|
707
|
-
to?: string[] | undefined;
|
708
|
-
withCheck?: string | undefined;
|
709
|
-
}>;
|
710
814
|
}, {
|
711
815
|
name: string;
|
712
816
|
columns: Record<string, {
|
@@ -770,14 +874,6 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
770
874
|
columns: string[];
|
771
875
|
nullsNotDistinct: boolean;
|
772
876
|
}> | undefined;
|
773
|
-
policies?: Record<string, {
|
774
|
-
name: string;
|
775
|
-
using?: string | undefined;
|
776
|
-
as?: "PERMISSIVE" | "RESTRICTIVE" | undefined;
|
777
|
-
for?: "ALL" | "SELECT" | "INSERT" | "UPDATE" | "DELETE" | undefined;
|
778
|
-
to?: string[] | undefined;
|
779
|
-
withCheck?: string | undefined;
|
780
|
-
}> | undefined;
|
781
877
|
}>>;
|
782
878
|
enums: zod.ZodRecord<zod.ZodString, zod.ZodObject<{
|
783
879
|
name: zod.ZodString;
|
@@ -793,6 +889,303 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
793
889
|
schema: string;
|
794
890
|
}>>;
|
795
891
|
schemas: zod.ZodRecord<zod.ZodString, zod.ZodString>;
|
892
|
+
views: zod.ZodDefault<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
|
893
|
+
name: zod.ZodString;
|
894
|
+
schema: zod.ZodString;
|
895
|
+
columns: zod.ZodRecord<zod.ZodString, zod.ZodObject<{
|
896
|
+
name: zod.ZodString;
|
897
|
+
type: zod.ZodString;
|
898
|
+
typeSchema: zod.ZodOptional<zod.ZodString>;
|
899
|
+
primaryKey: zod.ZodBoolean;
|
900
|
+
notNull: zod.ZodBoolean;
|
901
|
+
default: zod.ZodOptional<zod.ZodAny>;
|
902
|
+
isUnique: zod.ZodOptional<zod.ZodAny>;
|
903
|
+
uniqueName: zod.ZodOptional<zod.ZodString>;
|
904
|
+
nullsNotDistinct: zod.ZodOptional<zod.ZodBoolean>;
|
905
|
+
generated: zod.ZodOptional<zod.ZodObject<{
|
906
|
+
type: zod.ZodLiteral<"stored">;
|
907
|
+
as: zod.ZodString;
|
908
|
+
}, "strip", zod.ZodTypeAny, {
|
909
|
+
type: "stored";
|
910
|
+
as: string;
|
911
|
+
}, {
|
912
|
+
type: "stored";
|
913
|
+
as: string;
|
914
|
+
}>>;
|
915
|
+
identity: zod.ZodOptional<zod.ZodObject<zod.objectUtil.extendShape<{
|
916
|
+
name: zod.ZodString;
|
917
|
+
increment: zod.ZodOptional<zod.ZodString>;
|
918
|
+
minValue: zod.ZodOptional<zod.ZodString>;
|
919
|
+
maxValue: zod.ZodOptional<zod.ZodString>;
|
920
|
+
startWith: zod.ZodOptional<zod.ZodString>;
|
921
|
+
cache: zod.ZodOptional<zod.ZodString>;
|
922
|
+
cycle: zod.ZodOptional<zod.ZodBoolean>;
|
923
|
+
schema: zod.ZodString;
|
924
|
+
}, {
|
925
|
+
type: zod.ZodEnum<["always", "byDefault"]>;
|
926
|
+
}>, "strip", zod.ZodTypeAny, {
|
927
|
+
name: string;
|
928
|
+
type: "always" | "byDefault";
|
929
|
+
schema: string;
|
930
|
+
increment?: string | undefined;
|
931
|
+
minValue?: string | undefined;
|
932
|
+
maxValue?: string | undefined;
|
933
|
+
startWith?: string | undefined;
|
934
|
+
cache?: string | undefined;
|
935
|
+
cycle?: boolean | undefined;
|
936
|
+
}, {
|
937
|
+
name: string;
|
938
|
+
type: "always" | "byDefault";
|
939
|
+
schema: string;
|
940
|
+
increment?: string | undefined;
|
941
|
+
minValue?: string | undefined;
|
942
|
+
maxValue?: string | undefined;
|
943
|
+
startWith?: string | undefined;
|
944
|
+
cache?: string | undefined;
|
945
|
+
cycle?: boolean | undefined;
|
946
|
+
}>>;
|
947
|
+
}, "strict", zod.ZodTypeAny, {
|
948
|
+
name: string;
|
949
|
+
type: string;
|
950
|
+
primaryKey: boolean;
|
951
|
+
notNull: boolean;
|
952
|
+
isUnique?: any;
|
953
|
+
default?: any;
|
954
|
+
generated?: {
|
955
|
+
type: "stored";
|
956
|
+
as: string;
|
957
|
+
} | undefined;
|
958
|
+
typeSchema?: string | undefined;
|
959
|
+
uniqueName?: string | undefined;
|
960
|
+
nullsNotDistinct?: boolean | undefined;
|
961
|
+
identity?: {
|
962
|
+
name: string;
|
963
|
+
type: "always" | "byDefault";
|
964
|
+
schema: string;
|
965
|
+
increment?: string | undefined;
|
966
|
+
minValue?: string | undefined;
|
967
|
+
maxValue?: string | undefined;
|
968
|
+
startWith?: string | undefined;
|
969
|
+
cache?: string | undefined;
|
970
|
+
cycle?: boolean | undefined;
|
971
|
+
} | undefined;
|
972
|
+
}, {
|
973
|
+
name: string;
|
974
|
+
type: string;
|
975
|
+
primaryKey: boolean;
|
976
|
+
notNull: boolean;
|
977
|
+
isUnique?: any;
|
978
|
+
default?: any;
|
979
|
+
generated?: {
|
980
|
+
type: "stored";
|
981
|
+
as: string;
|
982
|
+
} | undefined;
|
983
|
+
typeSchema?: string | undefined;
|
984
|
+
uniqueName?: string | undefined;
|
985
|
+
nullsNotDistinct?: boolean | undefined;
|
986
|
+
identity?: {
|
987
|
+
name: string;
|
988
|
+
type: "always" | "byDefault";
|
989
|
+
schema: string;
|
990
|
+
increment?: string | undefined;
|
991
|
+
minValue?: string | undefined;
|
992
|
+
maxValue?: string | undefined;
|
993
|
+
startWith?: string | undefined;
|
994
|
+
cache?: string | undefined;
|
995
|
+
cycle?: boolean | undefined;
|
996
|
+
} | undefined;
|
997
|
+
}>>;
|
998
|
+
definition: zod.ZodOptional<zod.ZodString>;
|
999
|
+
materialized: zod.ZodBoolean;
|
1000
|
+
with: zod.ZodOptional<zod.ZodObject<zod.objectUtil.extendShape<{
|
1001
|
+
checkOption: zod.ZodOptional<zod.ZodEnum<["local", "cascaded"]>>;
|
1002
|
+
securityBarrier: zod.ZodOptional<zod.ZodBoolean>;
|
1003
|
+
securityInvoker: zod.ZodOptional<zod.ZodBoolean>;
|
1004
|
+
}, {
|
1005
|
+
fillfactor: zod.ZodOptional<zod.ZodNumber>;
|
1006
|
+
toastTupleTarget: zod.ZodOptional<zod.ZodNumber>;
|
1007
|
+
parallelWorkers: zod.ZodOptional<zod.ZodNumber>;
|
1008
|
+
autovacuumEnabled: zod.ZodOptional<zod.ZodBoolean>;
|
1009
|
+
vacuumIndexCleanup: zod.ZodOptional<zod.ZodEnum<["auto", "off", "on"]>>;
|
1010
|
+
vacuumTruncate: zod.ZodOptional<zod.ZodBoolean>;
|
1011
|
+
autovacuumVacuumThreshold: zod.ZodOptional<zod.ZodNumber>;
|
1012
|
+
autovacuumVacuumScaleFactor: zod.ZodOptional<zod.ZodNumber>;
|
1013
|
+
autovacuumVacuumCostDelay: zod.ZodOptional<zod.ZodNumber>;
|
1014
|
+
autovacuumVacuumCostLimit: zod.ZodOptional<zod.ZodNumber>;
|
1015
|
+
autovacuumFreezeMinAge: zod.ZodOptional<zod.ZodNumber>;
|
1016
|
+
autovacuumFreezeMaxAge: zod.ZodOptional<zod.ZodNumber>;
|
1017
|
+
autovacuumFreezeTableAge: zod.ZodOptional<zod.ZodNumber>;
|
1018
|
+
autovacuumMultixactFreezeMinAge: zod.ZodOptional<zod.ZodNumber>;
|
1019
|
+
autovacuumMultixactFreezeMaxAge: zod.ZodOptional<zod.ZodNumber>;
|
1020
|
+
autovacuumMultixactFreezeTableAge: zod.ZodOptional<zod.ZodNumber>;
|
1021
|
+
logAutovacuumMinDuration: zod.ZodOptional<zod.ZodNumber>;
|
1022
|
+
userCatalogTable: zod.ZodOptional<zod.ZodBoolean>;
|
1023
|
+
}>, "strict", zod.ZodTypeAny, {
|
1024
|
+
checkOption?: "local" | "cascaded" | undefined;
|
1025
|
+
securityBarrier?: boolean | undefined;
|
1026
|
+
securityInvoker?: boolean | undefined;
|
1027
|
+
fillfactor?: number | undefined;
|
1028
|
+
toastTupleTarget?: number | undefined;
|
1029
|
+
parallelWorkers?: number | undefined;
|
1030
|
+
autovacuumEnabled?: boolean | undefined;
|
1031
|
+
vacuumIndexCleanup?: "auto" | "off" | "on" | undefined;
|
1032
|
+
vacuumTruncate?: boolean | undefined;
|
1033
|
+
autovacuumVacuumThreshold?: number | undefined;
|
1034
|
+
autovacuumVacuumScaleFactor?: number | undefined;
|
1035
|
+
autovacuumVacuumCostDelay?: number | undefined;
|
1036
|
+
autovacuumVacuumCostLimit?: number | undefined;
|
1037
|
+
autovacuumFreezeMinAge?: number | undefined;
|
1038
|
+
autovacuumFreezeMaxAge?: number | undefined;
|
1039
|
+
autovacuumFreezeTableAge?: number | undefined;
|
1040
|
+
autovacuumMultixactFreezeMinAge?: number | undefined;
|
1041
|
+
autovacuumMultixactFreezeMaxAge?: number | undefined;
|
1042
|
+
autovacuumMultixactFreezeTableAge?: number | undefined;
|
1043
|
+
logAutovacuumMinDuration?: number | undefined;
|
1044
|
+
userCatalogTable?: boolean | undefined;
|
1045
|
+
}, {
|
1046
|
+
checkOption?: "local" | "cascaded" | undefined;
|
1047
|
+
securityBarrier?: boolean | undefined;
|
1048
|
+
securityInvoker?: boolean | undefined;
|
1049
|
+
fillfactor?: number | undefined;
|
1050
|
+
toastTupleTarget?: number | undefined;
|
1051
|
+
parallelWorkers?: number | undefined;
|
1052
|
+
autovacuumEnabled?: boolean | undefined;
|
1053
|
+
vacuumIndexCleanup?: "auto" | "off" | "on" | undefined;
|
1054
|
+
vacuumTruncate?: boolean | undefined;
|
1055
|
+
autovacuumVacuumThreshold?: number | undefined;
|
1056
|
+
autovacuumVacuumScaleFactor?: number | undefined;
|
1057
|
+
autovacuumVacuumCostDelay?: number | undefined;
|
1058
|
+
autovacuumVacuumCostLimit?: number | undefined;
|
1059
|
+
autovacuumFreezeMinAge?: number | undefined;
|
1060
|
+
autovacuumFreezeMaxAge?: number | undefined;
|
1061
|
+
autovacuumFreezeTableAge?: number | undefined;
|
1062
|
+
autovacuumMultixactFreezeMinAge?: number | undefined;
|
1063
|
+
autovacuumMultixactFreezeMaxAge?: number | undefined;
|
1064
|
+
autovacuumMultixactFreezeTableAge?: number | undefined;
|
1065
|
+
logAutovacuumMinDuration?: number | undefined;
|
1066
|
+
userCatalogTable?: boolean | undefined;
|
1067
|
+
}>>;
|
1068
|
+
isExisting: zod.ZodBoolean;
|
1069
|
+
withNoData: zod.ZodOptional<zod.ZodBoolean>;
|
1070
|
+
using: zod.ZodOptional<zod.ZodString>;
|
1071
|
+
tablespace: zod.ZodOptional<zod.ZodString>;
|
1072
|
+
}, "strict", zod.ZodTypeAny, {
|
1073
|
+
name: string;
|
1074
|
+
columns: Record<string, {
|
1075
|
+
name: string;
|
1076
|
+
type: string;
|
1077
|
+
primaryKey: boolean;
|
1078
|
+
notNull: boolean;
|
1079
|
+
isUnique?: any;
|
1080
|
+
default?: any;
|
1081
|
+
generated?: {
|
1082
|
+
type: "stored";
|
1083
|
+
as: string;
|
1084
|
+
} | undefined;
|
1085
|
+
typeSchema?: string | undefined;
|
1086
|
+
uniqueName?: string | undefined;
|
1087
|
+
nullsNotDistinct?: boolean | undefined;
|
1088
|
+
identity?: {
|
1089
|
+
name: string;
|
1090
|
+
type: "always" | "byDefault";
|
1091
|
+
schema: string;
|
1092
|
+
increment?: string | undefined;
|
1093
|
+
minValue?: string | undefined;
|
1094
|
+
maxValue?: string | undefined;
|
1095
|
+
startWith?: string | undefined;
|
1096
|
+
cache?: string | undefined;
|
1097
|
+
cycle?: boolean | undefined;
|
1098
|
+
} | undefined;
|
1099
|
+
}>;
|
1100
|
+
schema: string;
|
1101
|
+
isExisting: boolean;
|
1102
|
+
materialized: boolean;
|
1103
|
+
using?: string | undefined;
|
1104
|
+
definition?: string | undefined;
|
1105
|
+
with?: {
|
1106
|
+
checkOption?: "local" | "cascaded" | undefined;
|
1107
|
+
securityBarrier?: boolean | undefined;
|
1108
|
+
securityInvoker?: boolean | undefined;
|
1109
|
+
fillfactor?: number | undefined;
|
1110
|
+
toastTupleTarget?: number | undefined;
|
1111
|
+
parallelWorkers?: number | undefined;
|
1112
|
+
autovacuumEnabled?: boolean | undefined;
|
1113
|
+
vacuumIndexCleanup?: "auto" | "off" | "on" | undefined;
|
1114
|
+
vacuumTruncate?: boolean | undefined;
|
1115
|
+
autovacuumVacuumThreshold?: number | undefined;
|
1116
|
+
autovacuumVacuumScaleFactor?: number | undefined;
|
1117
|
+
autovacuumVacuumCostDelay?: number | undefined;
|
1118
|
+
autovacuumVacuumCostLimit?: number | undefined;
|
1119
|
+
autovacuumFreezeMinAge?: number | undefined;
|
1120
|
+
autovacuumFreezeMaxAge?: number | undefined;
|
1121
|
+
autovacuumFreezeTableAge?: number | undefined;
|
1122
|
+
autovacuumMultixactFreezeMinAge?: number | undefined;
|
1123
|
+
autovacuumMultixactFreezeMaxAge?: number | undefined;
|
1124
|
+
autovacuumMultixactFreezeTableAge?: number | undefined;
|
1125
|
+
logAutovacuumMinDuration?: number | undefined;
|
1126
|
+
userCatalogTable?: boolean | undefined;
|
1127
|
+
} | undefined;
|
1128
|
+
withNoData?: boolean | undefined;
|
1129
|
+
tablespace?: string | undefined;
|
1130
|
+
}, {
|
1131
|
+
name: string;
|
1132
|
+
columns: Record<string, {
|
1133
|
+
name: string;
|
1134
|
+
type: string;
|
1135
|
+
primaryKey: boolean;
|
1136
|
+
notNull: boolean;
|
1137
|
+
isUnique?: any;
|
1138
|
+
default?: any;
|
1139
|
+
generated?: {
|
1140
|
+
type: "stored";
|
1141
|
+
as: string;
|
1142
|
+
} | undefined;
|
1143
|
+
typeSchema?: string | undefined;
|
1144
|
+
uniqueName?: string | undefined;
|
1145
|
+
nullsNotDistinct?: boolean | undefined;
|
1146
|
+
identity?: {
|
1147
|
+
name: string;
|
1148
|
+
type: "always" | "byDefault";
|
1149
|
+
schema: string;
|
1150
|
+
increment?: string | undefined;
|
1151
|
+
minValue?: string | undefined;
|
1152
|
+
maxValue?: string | undefined;
|
1153
|
+
startWith?: string | undefined;
|
1154
|
+
cache?: string | undefined;
|
1155
|
+
cycle?: boolean | undefined;
|
1156
|
+
} | undefined;
|
1157
|
+
}>;
|
1158
|
+
schema: string;
|
1159
|
+
isExisting: boolean;
|
1160
|
+
materialized: boolean;
|
1161
|
+
using?: string | undefined;
|
1162
|
+
definition?: string | undefined;
|
1163
|
+
with?: {
|
1164
|
+
checkOption?: "local" | "cascaded" | undefined;
|
1165
|
+
securityBarrier?: boolean | undefined;
|
1166
|
+
securityInvoker?: boolean | undefined;
|
1167
|
+
fillfactor?: number | undefined;
|
1168
|
+
toastTupleTarget?: number | undefined;
|
1169
|
+
parallelWorkers?: number | undefined;
|
1170
|
+
autovacuumEnabled?: boolean | undefined;
|
1171
|
+
vacuumIndexCleanup?: "auto" | "off" | "on" | undefined;
|
1172
|
+
vacuumTruncate?: boolean | undefined;
|
1173
|
+
autovacuumVacuumThreshold?: number | undefined;
|
1174
|
+
autovacuumVacuumScaleFactor?: number | undefined;
|
1175
|
+
autovacuumVacuumCostDelay?: number | undefined;
|
1176
|
+
autovacuumVacuumCostLimit?: number | undefined;
|
1177
|
+
autovacuumFreezeMinAge?: number | undefined;
|
1178
|
+
autovacuumFreezeMaxAge?: number | undefined;
|
1179
|
+
autovacuumFreezeTableAge?: number | undefined;
|
1180
|
+
autovacuumMultixactFreezeMinAge?: number | undefined;
|
1181
|
+
autovacuumMultixactFreezeMaxAge?: number | undefined;
|
1182
|
+
autovacuumMultixactFreezeTableAge?: number | undefined;
|
1183
|
+
logAutovacuumMinDuration?: number | undefined;
|
1184
|
+
userCatalogTable?: boolean | undefined;
|
1185
|
+
} | undefined;
|
1186
|
+
withNoData?: boolean | undefined;
|
1187
|
+
tablespace?: string | undefined;
|
1188
|
+
}>>>;
|
796
1189
|
sequences: zod.ZodDefault<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
|
797
1190
|
name: zod.ZodString;
|
798
1191
|
increment: zod.ZodOptional<zod.ZodString>;
|
@@ -821,22 +1214,6 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
821
1214
|
cache?: string | undefined;
|
822
1215
|
cycle?: boolean | undefined;
|
823
1216
|
}>>>;
|
824
|
-
roles: zod.ZodDefault<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
|
825
|
-
name: zod.ZodString;
|
826
|
-
createDb: zod.ZodOptional<zod.ZodBoolean>;
|
827
|
-
createRole: zod.ZodOptional<zod.ZodBoolean>;
|
828
|
-
inherit: zod.ZodOptional<zod.ZodBoolean>;
|
829
|
-
}, "strict", zod.ZodTypeAny, {
|
830
|
-
name: string;
|
831
|
-
createDb?: boolean | undefined;
|
832
|
-
createRole?: boolean | undefined;
|
833
|
-
inherit?: boolean | undefined;
|
834
|
-
}, {
|
835
|
-
name: string;
|
836
|
-
createDb?: boolean | undefined;
|
837
|
-
createRole?: boolean | undefined;
|
838
|
-
inherit?: boolean | undefined;
|
839
|
-
}>>>;
|
840
1217
|
_meta: zod.ZodObject<{
|
841
1218
|
schemas: zod.ZodRecord<zod.ZodString, zod.ZodString>;
|
842
1219
|
tables: zod.ZodRecord<zod.ZodString, zod.ZodString>;
|
@@ -969,14 +1346,6 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
969
1346
|
columns: string[];
|
970
1347
|
nullsNotDistinct: boolean;
|
971
1348
|
}>;
|
972
|
-
policies: Record<string, {
|
973
|
-
name: string;
|
974
|
-
using?: string | undefined;
|
975
|
-
as?: "PERMISSIVE" | "RESTRICTIVE" | undefined;
|
976
|
-
for?: "ALL" | "SELECT" | "INSERT" | "UPDATE" | "DELETE" | undefined;
|
977
|
-
to?: string[] | undefined;
|
978
|
-
withCheck?: string | undefined;
|
979
|
-
}>;
|
980
1349
|
}>;
|
981
1350
|
id: string;
|
982
1351
|
prevId: string;
|
@@ -988,6 +1357,65 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
988
1357
|
tables: Record<string, string>;
|
989
1358
|
schemas: Record<string, string>;
|
990
1359
|
};
|
1360
|
+
views: Record<string, {
|
1361
|
+
name: string;
|
1362
|
+
columns: Record<string, {
|
1363
|
+
name: string;
|
1364
|
+
type: string;
|
1365
|
+
primaryKey: boolean;
|
1366
|
+
notNull: boolean;
|
1367
|
+
isUnique?: any;
|
1368
|
+
default?: any;
|
1369
|
+
generated?: {
|
1370
|
+
type: "stored";
|
1371
|
+
as: string;
|
1372
|
+
} | undefined;
|
1373
|
+
typeSchema?: string | undefined;
|
1374
|
+
uniqueName?: string | undefined;
|
1375
|
+
nullsNotDistinct?: boolean | undefined;
|
1376
|
+
identity?: {
|
1377
|
+
name: string;
|
1378
|
+
type: "always" | "byDefault";
|
1379
|
+
schema: string;
|
1380
|
+
increment?: string | undefined;
|
1381
|
+
minValue?: string | undefined;
|
1382
|
+
maxValue?: string | undefined;
|
1383
|
+
startWith?: string | undefined;
|
1384
|
+
cache?: string | undefined;
|
1385
|
+
cycle?: boolean | undefined;
|
1386
|
+
} | undefined;
|
1387
|
+
}>;
|
1388
|
+
schema: string;
|
1389
|
+
isExisting: boolean;
|
1390
|
+
materialized: boolean;
|
1391
|
+
using?: string | undefined;
|
1392
|
+
definition?: string | undefined;
|
1393
|
+
with?: {
|
1394
|
+
checkOption?: "local" | "cascaded" | undefined;
|
1395
|
+
securityBarrier?: boolean | undefined;
|
1396
|
+
securityInvoker?: boolean | undefined;
|
1397
|
+
fillfactor?: number | undefined;
|
1398
|
+
toastTupleTarget?: number | undefined;
|
1399
|
+
parallelWorkers?: number | undefined;
|
1400
|
+
autovacuumEnabled?: boolean | undefined;
|
1401
|
+
vacuumIndexCleanup?: "auto" | "off" | "on" | undefined;
|
1402
|
+
vacuumTruncate?: boolean | undefined;
|
1403
|
+
autovacuumVacuumThreshold?: number | undefined;
|
1404
|
+
autovacuumVacuumScaleFactor?: number | undefined;
|
1405
|
+
autovacuumVacuumCostDelay?: number | undefined;
|
1406
|
+
autovacuumVacuumCostLimit?: number | undefined;
|
1407
|
+
autovacuumFreezeMinAge?: number | undefined;
|
1408
|
+
autovacuumFreezeMaxAge?: number | undefined;
|
1409
|
+
autovacuumFreezeTableAge?: number | undefined;
|
1410
|
+
autovacuumMultixactFreezeMinAge?: number | undefined;
|
1411
|
+
autovacuumMultixactFreezeMaxAge?: number | undefined;
|
1412
|
+
autovacuumMultixactFreezeTableAge?: number | undefined;
|
1413
|
+
logAutovacuumMinDuration?: number | undefined;
|
1414
|
+
userCatalogTable?: boolean | undefined;
|
1415
|
+
} | undefined;
|
1416
|
+
withNoData?: boolean | undefined;
|
1417
|
+
tablespace?: string | undefined;
|
1418
|
+
}>;
|
991
1419
|
enums: Record<string, {
|
992
1420
|
name: string;
|
993
1421
|
values: string[];
|
@@ -1003,12 +1431,6 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
1003
1431
|
cache?: string | undefined;
|
1004
1432
|
cycle?: boolean | undefined;
|
1005
1433
|
}>;
|
1006
|
-
roles: Record<string, {
|
1007
|
-
name: string;
|
1008
|
-
createDb?: boolean | undefined;
|
1009
|
-
createRole?: boolean | undefined;
|
1010
|
-
inherit?: boolean | undefined;
|
1011
|
-
}>;
|
1012
1434
|
internal?: {
|
1013
1435
|
tables: Record<string, {
|
1014
1436
|
columns: Record<string, {
|
@@ -1083,14 +1505,6 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
1083
1505
|
columns: string[];
|
1084
1506
|
nullsNotDistinct: boolean;
|
1085
1507
|
}> | undefined;
|
1086
|
-
policies?: Record<string, {
|
1087
|
-
name: string;
|
1088
|
-
using?: string | undefined;
|
1089
|
-
as?: "PERMISSIVE" | "RESTRICTIVE" | undefined;
|
1090
|
-
for?: "ALL" | "SELECT" | "INSERT" | "UPDATE" | "DELETE" | undefined;
|
1091
|
-
to?: string[] | undefined;
|
1092
|
-
withCheck?: string | undefined;
|
1093
|
-
}> | undefined;
|
1094
1508
|
}>;
|
1095
1509
|
id: string;
|
1096
1510
|
prevId: string;
|
@@ -1117,6 +1531,65 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
1117
1531
|
} | undefined>;
|
1118
1532
|
} | undefined>;
|
1119
1533
|
} | undefined;
|
1534
|
+
views?: Record<string, {
|
1535
|
+
name: string;
|
1536
|
+
columns: Record<string, {
|
1537
|
+
name: string;
|
1538
|
+
type: string;
|
1539
|
+
primaryKey: boolean;
|
1540
|
+
notNull: boolean;
|
1541
|
+
isUnique?: any;
|
1542
|
+
default?: any;
|
1543
|
+
generated?: {
|
1544
|
+
type: "stored";
|
1545
|
+
as: string;
|
1546
|
+
} | undefined;
|
1547
|
+
typeSchema?: string | undefined;
|
1548
|
+
uniqueName?: string | undefined;
|
1549
|
+
nullsNotDistinct?: boolean | undefined;
|
1550
|
+
identity?: {
|
1551
|
+
name: string;
|
1552
|
+
type: "always" | "byDefault";
|
1553
|
+
schema: string;
|
1554
|
+
increment?: string | undefined;
|
1555
|
+
minValue?: string | undefined;
|
1556
|
+
maxValue?: string | undefined;
|
1557
|
+
startWith?: string | undefined;
|
1558
|
+
cache?: string | undefined;
|
1559
|
+
cycle?: boolean | undefined;
|
1560
|
+
} | undefined;
|
1561
|
+
}>;
|
1562
|
+
schema: string;
|
1563
|
+
isExisting: boolean;
|
1564
|
+
materialized: boolean;
|
1565
|
+
using?: string | undefined;
|
1566
|
+
definition?: string | undefined;
|
1567
|
+
with?: {
|
1568
|
+
checkOption?: "local" | "cascaded" | undefined;
|
1569
|
+
securityBarrier?: boolean | undefined;
|
1570
|
+
securityInvoker?: boolean | undefined;
|
1571
|
+
fillfactor?: number | undefined;
|
1572
|
+
toastTupleTarget?: number | undefined;
|
1573
|
+
parallelWorkers?: number | undefined;
|
1574
|
+
autovacuumEnabled?: boolean | undefined;
|
1575
|
+
vacuumIndexCleanup?: "auto" | "off" | "on" | undefined;
|
1576
|
+
vacuumTruncate?: boolean | undefined;
|
1577
|
+
autovacuumVacuumThreshold?: number | undefined;
|
1578
|
+
autovacuumVacuumScaleFactor?: number | undefined;
|
1579
|
+
autovacuumVacuumCostDelay?: number | undefined;
|
1580
|
+
autovacuumVacuumCostLimit?: number | undefined;
|
1581
|
+
autovacuumFreezeMinAge?: number | undefined;
|
1582
|
+
autovacuumFreezeMaxAge?: number | undefined;
|
1583
|
+
autovacuumFreezeTableAge?: number | undefined;
|
1584
|
+
autovacuumMultixactFreezeMinAge?: number | undefined;
|
1585
|
+
autovacuumMultixactFreezeMaxAge?: number | undefined;
|
1586
|
+
autovacuumMultixactFreezeTableAge?: number | undefined;
|
1587
|
+
logAutovacuumMinDuration?: number | undefined;
|
1588
|
+
userCatalogTable?: boolean | undefined;
|
1589
|
+
} | undefined;
|
1590
|
+
withNoData?: boolean | undefined;
|
1591
|
+
tablespace?: string | undefined;
|
1592
|
+
}> | undefined;
|
1120
1593
|
sequences?: Record<string, {
|
1121
1594
|
name: string;
|
1122
1595
|
schema: string;
|
@@ -1127,12 +1600,6 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
1127
1600
|
cache?: string | undefined;
|
1128
1601
|
cycle?: boolean | undefined;
|
1129
1602
|
}> | undefined;
|
1130
|
-
roles?: Record<string, {
|
1131
|
-
name: string;
|
1132
|
-
createDb?: boolean | undefined;
|
1133
|
-
createRole?: boolean | undefined;
|
1134
|
-
inherit?: boolean | undefined;
|
1135
|
-
}> | undefined;
|
1136
1603
|
}>;
|
1137
1604
|
type PgSchema = TypeOf<typeof pgSchema>;
|
1138
1605
|
|
@@ -1317,6 +1784,83 @@ declare const schema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
1317
1784
|
columns: string[];
|
1318
1785
|
}> | undefined;
|
1319
1786
|
}>>;
|
1787
|
+
views: zod.ZodRecord<zod.ZodString, zod.ZodObject<{
|
1788
|
+
name: zod.ZodString;
|
1789
|
+
columns: zod.ZodRecord<zod.ZodString, zod.ZodObject<{
|
1790
|
+
name: zod.ZodString;
|
1791
|
+
type: zod.ZodString;
|
1792
|
+
primaryKey: zod.ZodBoolean;
|
1793
|
+
notNull: zod.ZodBoolean;
|
1794
|
+
autoincrement: zod.ZodOptional<zod.ZodBoolean>;
|
1795
|
+
default: zod.ZodOptional<zod.ZodAny>;
|
1796
|
+
generated: zod.ZodOptional<zod.ZodObject<{
|
1797
|
+
type: zod.ZodEnum<["stored", "virtual"]>;
|
1798
|
+
as: zod.ZodString;
|
1799
|
+
}, "strip", zod.ZodTypeAny, {
|
1800
|
+
type: "stored" | "virtual";
|
1801
|
+
as: string;
|
1802
|
+
}, {
|
1803
|
+
type: "stored" | "virtual";
|
1804
|
+
as: string;
|
1805
|
+
}>>;
|
1806
|
+
}, "strict", zod.ZodTypeAny, {
|
1807
|
+
name: string;
|
1808
|
+
type: string;
|
1809
|
+
primaryKey: boolean;
|
1810
|
+
notNull: boolean;
|
1811
|
+
default?: any;
|
1812
|
+
autoincrement?: boolean | undefined;
|
1813
|
+
generated?: {
|
1814
|
+
type: "stored" | "virtual";
|
1815
|
+
as: string;
|
1816
|
+
} | undefined;
|
1817
|
+
}, {
|
1818
|
+
name: string;
|
1819
|
+
type: string;
|
1820
|
+
primaryKey: boolean;
|
1821
|
+
notNull: boolean;
|
1822
|
+
default?: any;
|
1823
|
+
autoincrement?: boolean | undefined;
|
1824
|
+
generated?: {
|
1825
|
+
type: "stored" | "virtual";
|
1826
|
+
as: string;
|
1827
|
+
} | undefined;
|
1828
|
+
}>>;
|
1829
|
+
definition: zod.ZodOptional<zod.ZodString>;
|
1830
|
+
isExisting: zod.ZodBoolean;
|
1831
|
+
}, "strict", zod.ZodTypeAny, {
|
1832
|
+
name: string;
|
1833
|
+
columns: Record<string, {
|
1834
|
+
name: string;
|
1835
|
+
type: string;
|
1836
|
+
primaryKey: boolean;
|
1837
|
+
notNull: boolean;
|
1838
|
+
default?: any;
|
1839
|
+
autoincrement?: boolean | undefined;
|
1840
|
+
generated?: {
|
1841
|
+
type: "stored" | "virtual";
|
1842
|
+
as: string;
|
1843
|
+
} | undefined;
|
1844
|
+
}>;
|
1845
|
+
isExisting: boolean;
|
1846
|
+
definition?: string | undefined;
|
1847
|
+
}, {
|
1848
|
+
name: string;
|
1849
|
+
columns: Record<string, {
|
1850
|
+
name: string;
|
1851
|
+
type: string;
|
1852
|
+
primaryKey: boolean;
|
1853
|
+
notNull: boolean;
|
1854
|
+
default?: any;
|
1855
|
+
autoincrement?: boolean | undefined;
|
1856
|
+
generated?: {
|
1857
|
+
type: "stored" | "virtual";
|
1858
|
+
as: string;
|
1859
|
+
} | undefined;
|
1860
|
+
}>;
|
1861
|
+
isExisting: boolean;
|
1862
|
+
definition?: string | undefined;
|
1863
|
+
}>>;
|
1320
1864
|
enums: zod.ZodObject<{}, "strip", zod.ZodTypeAny, {}, {}>;
|
1321
1865
|
_meta: zod.ZodObject<{
|
1322
1866
|
tables: zod.ZodRecord<zod.ZodString, zod.ZodString>;
|
@@ -1409,6 +1953,23 @@ declare const schema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
1409
1953
|
columns: Record<string, string>;
|
1410
1954
|
tables: Record<string, string>;
|
1411
1955
|
};
|
1956
|
+
views: Record<string, {
|
1957
|
+
name: string;
|
1958
|
+
columns: Record<string, {
|
1959
|
+
name: string;
|
1960
|
+
type: string;
|
1961
|
+
primaryKey: boolean;
|
1962
|
+
notNull: boolean;
|
1963
|
+
default?: any;
|
1964
|
+
autoincrement?: boolean | undefined;
|
1965
|
+
generated?: {
|
1966
|
+
type: "stored" | "virtual";
|
1967
|
+
as: string;
|
1968
|
+
} | undefined;
|
1969
|
+
}>;
|
1970
|
+
isExisting: boolean;
|
1971
|
+
definition?: string | undefined;
|
1972
|
+
}>;
|
1412
1973
|
enums: {};
|
1413
1974
|
internal?: {
|
1414
1975
|
indexes?: Record<string, {
|
@@ -1464,6 +2025,23 @@ declare const schema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
1464
2025
|
columns: Record<string, string>;
|
1465
2026
|
tables: Record<string, string>;
|
1466
2027
|
};
|
2028
|
+
views: Record<string, {
|
2029
|
+
name: string;
|
2030
|
+
columns: Record<string, {
|
2031
|
+
name: string;
|
2032
|
+
type: string;
|
2033
|
+
primaryKey: boolean;
|
2034
|
+
notNull: boolean;
|
2035
|
+
default?: any;
|
2036
|
+
autoincrement?: boolean | undefined;
|
2037
|
+
generated?: {
|
2038
|
+
type: "stored" | "virtual";
|
2039
|
+
as: string;
|
2040
|
+
} | undefined;
|
2041
|
+
}>;
|
2042
|
+
isExisting: boolean;
|
2043
|
+
definition?: string | undefined;
|
2044
|
+
}>;
|
1467
2045
|
enums: {};
|
1468
2046
|
internal?: {
|
1469
2047
|
indexes?: Record<string, {
|
@@ -1568,14 +2146,6 @@ declare const upPgSnapshot: (snapshot: Record<string, unknown>) => {
|
|
1568
2146
|
columns: string[];
|
1569
2147
|
nullsNotDistinct: boolean;
|
1570
2148
|
}>;
|
1571
|
-
policies: Record<string, {
|
1572
|
-
name: string;
|
1573
|
-
as?: "PERMISSIVE" | "RESTRICTIVE" | undefined;
|
1574
|
-
for?: "ALL" | "SELECT" | "INSERT" | "UPDATE" | "DELETE" | undefined;
|
1575
|
-
to?: string[] | undefined;
|
1576
|
-
using?: string | undefined;
|
1577
|
-
withCheck?: string | undefined;
|
1578
|
-
}>;
|
1579
2149
|
}>;
|
1580
2150
|
enums: Record<string, {
|
1581
2151
|
values: string[];
|
@@ -1583,6 +2153,65 @@ declare const upPgSnapshot: (snapshot: Record<string, unknown>) => {
|
|
1583
2153
|
schema: string;
|
1584
2154
|
}>;
|
1585
2155
|
schemas: Record<string, string>;
|
2156
|
+
views: Record<string, {
|
2157
|
+
name: string;
|
2158
|
+
schema: string;
|
2159
|
+
columns: Record<string, {
|
2160
|
+
type: string;
|
2161
|
+
name: string;
|
2162
|
+
primaryKey: boolean;
|
2163
|
+
notNull: boolean;
|
2164
|
+
typeSchema?: string | undefined;
|
2165
|
+
default?: any;
|
2166
|
+
isUnique?: any;
|
2167
|
+
uniqueName?: string | undefined;
|
2168
|
+
nullsNotDistinct?: boolean | undefined;
|
2169
|
+
generated?: {
|
2170
|
+
type: "stored";
|
2171
|
+
as: string;
|
2172
|
+
} | undefined;
|
2173
|
+
identity?: {
|
2174
|
+
type: "always" | "byDefault";
|
2175
|
+
name: string;
|
2176
|
+
schema: string;
|
2177
|
+
increment?: string | undefined;
|
2178
|
+
minValue?: string | undefined;
|
2179
|
+
maxValue?: string | undefined;
|
2180
|
+
startWith?: string | undefined;
|
2181
|
+
cache?: string | undefined;
|
2182
|
+
cycle?: boolean | undefined;
|
2183
|
+
} | undefined;
|
2184
|
+
}>;
|
2185
|
+
materialized: boolean;
|
2186
|
+
isExisting: boolean;
|
2187
|
+
with?: {
|
2188
|
+
checkOption?: "local" | "cascaded" | undefined;
|
2189
|
+
securityBarrier?: boolean | undefined;
|
2190
|
+
securityInvoker?: boolean | undefined;
|
2191
|
+
fillfactor?: number | undefined;
|
2192
|
+
toastTupleTarget?: number | undefined;
|
2193
|
+
parallelWorkers?: number | undefined;
|
2194
|
+
autovacuumEnabled?: boolean | undefined;
|
2195
|
+
vacuumIndexCleanup?: "auto" | "off" | "on" | undefined;
|
2196
|
+
vacuumTruncate?: boolean | undefined;
|
2197
|
+
autovacuumVacuumThreshold?: number | undefined;
|
2198
|
+
autovacuumVacuumScaleFactor?: number | undefined;
|
2199
|
+
autovacuumVacuumCostDelay?: number | undefined;
|
2200
|
+
autovacuumVacuumCostLimit?: number | undefined;
|
2201
|
+
autovacuumFreezeMinAge?: number | undefined;
|
2202
|
+
autovacuumFreezeMaxAge?: number | undefined;
|
2203
|
+
autovacuumFreezeTableAge?: number | undefined;
|
2204
|
+
autovacuumMultixactFreezeMinAge?: number | undefined;
|
2205
|
+
autovacuumMultixactFreezeMaxAge?: number | undefined;
|
2206
|
+
autovacuumMultixactFreezeTableAge?: number | undefined;
|
2207
|
+
logAutovacuumMinDuration?: number | undefined;
|
2208
|
+
userCatalogTable?: boolean | undefined;
|
2209
|
+
} | undefined;
|
2210
|
+
definition?: string | undefined;
|
2211
|
+
withNoData?: boolean | undefined;
|
2212
|
+
using?: string | undefined;
|
2213
|
+
tablespace?: string | undefined;
|
2214
|
+
}>;
|
1586
2215
|
sequences: Record<string, {
|
1587
2216
|
name: string;
|
1588
2217
|
schema: string;
|
@@ -1593,12 +2222,6 @@ declare const upPgSnapshot: (snapshot: Record<string, unknown>) => {
|
|
1593
2222
|
cache?: string | undefined;
|
1594
2223
|
cycle?: boolean | undefined;
|
1595
2224
|
}>;
|
1596
|
-
roles: Record<string, {
|
1597
|
-
name: string;
|
1598
|
-
createDb?: boolean | undefined;
|
1599
|
-
createRole?: boolean | undefined;
|
1600
|
-
inherit?: boolean | undefined;
|
1601
|
-
}>;
|
1602
2225
|
_meta: {
|
1603
2226
|
tables: Record<string, string>;
|
1604
2227
|
columns: Record<string, string>;
|