drizzle-kit 0.26.2-4cb1bdb → 0.26.2-53e089b
Sign up to get free protection for your applications and to get access to all the features.
- package/api.d.mts +67 -7
- package/api.d.ts +67 -7
- package/api.js +388 -62
- package/api.mjs +388 -62
- package/bin.cjs +420 -91
- package/index.d.mts +2 -2
- package/index.d.ts +2 -2
- package/package.json +1 -1
- package/utils.js +11 -2
- package/utils.mjs +11 -2
package/api.d.mts
CHANGED
@@ -781,6 +781,7 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
781
781
|
to: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
|
782
782
|
using: zod.ZodOptional<zod.ZodString>;
|
783
783
|
withCheck: zod.ZodOptional<zod.ZodString>;
|
784
|
+
on: zod.ZodOptional<zod.ZodString>;
|
784
785
|
}, "strict", zod.ZodTypeAny, {
|
785
786
|
name: string;
|
786
787
|
using?: string | undefined;
|
@@ -788,6 +789,7 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
788
789
|
for?: "ALL" | "SELECT" | "INSERT" | "UPDATE" | "DELETE" | undefined;
|
789
790
|
to?: string[] | undefined;
|
790
791
|
withCheck?: string | undefined;
|
792
|
+
on?: string | undefined;
|
791
793
|
}, {
|
792
794
|
name: string;
|
793
795
|
using?: string | undefined;
|
@@ -795,6 +797,7 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
795
797
|
for?: "ALL" | "SELECT" | "INSERT" | "UPDATE" | "DELETE" | undefined;
|
796
798
|
to?: string[] | undefined;
|
797
799
|
withCheck?: string | undefined;
|
800
|
+
on?: string | undefined;
|
798
801
|
}>>>;
|
799
802
|
checkConstraints: zod.ZodDefault<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
|
800
803
|
name: zod.ZodString;
|
@@ -881,6 +884,7 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
881
884
|
for?: "ALL" | "SELECT" | "INSERT" | "UPDATE" | "DELETE" | undefined;
|
882
885
|
to?: string[] | undefined;
|
883
886
|
withCheck?: string | undefined;
|
887
|
+
on?: string | undefined;
|
884
888
|
}>;
|
885
889
|
isRLSEnabled: boolean;
|
886
890
|
}, {
|
@@ -957,6 +961,7 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
957
961
|
for?: "ALL" | "SELECT" | "INSERT" | "UPDATE" | "DELETE" | undefined;
|
958
962
|
to?: string[] | undefined;
|
959
963
|
withCheck?: string | undefined;
|
964
|
+
on?: string | undefined;
|
960
965
|
}> | undefined;
|
961
966
|
isRLSEnabled?: boolean | undefined;
|
962
967
|
}>>;
|
@@ -1113,7 +1118,7 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
1113
1118
|
toastTupleTarget?: number | undefined;
|
1114
1119
|
parallelWorkers?: number | undefined;
|
1115
1120
|
autovacuumEnabled?: boolean | undefined;
|
1116
|
-
vacuumIndexCleanup?: "
|
1121
|
+
vacuumIndexCleanup?: "on" | "auto" | "off" | undefined;
|
1117
1122
|
vacuumTruncate?: boolean | undefined;
|
1118
1123
|
autovacuumVacuumThreshold?: number | undefined;
|
1119
1124
|
autovacuumVacuumScaleFactor?: number | undefined;
|
@@ -1135,7 +1140,7 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
1135
1140
|
toastTupleTarget?: number | undefined;
|
1136
1141
|
parallelWorkers?: number | undefined;
|
1137
1142
|
autovacuumEnabled?: boolean | undefined;
|
1138
|
-
vacuumIndexCleanup?: "
|
1143
|
+
vacuumIndexCleanup?: "on" | "auto" | "off" | undefined;
|
1139
1144
|
vacuumTruncate?: boolean | undefined;
|
1140
1145
|
autovacuumVacuumThreshold?: number | undefined;
|
1141
1146
|
autovacuumVacuumScaleFactor?: number | undefined;
|
@@ -1195,7 +1200,7 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
1195
1200
|
toastTupleTarget?: number | undefined;
|
1196
1201
|
parallelWorkers?: number | undefined;
|
1197
1202
|
autovacuumEnabled?: boolean | undefined;
|
1198
|
-
vacuumIndexCleanup?: "
|
1203
|
+
vacuumIndexCleanup?: "on" | "auto" | "off" | undefined;
|
1199
1204
|
vacuumTruncate?: boolean | undefined;
|
1200
1205
|
autovacuumVacuumThreshold?: number | undefined;
|
1201
1206
|
autovacuumVacuumScaleFactor?: number | undefined;
|
@@ -1253,7 +1258,7 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
1253
1258
|
toastTupleTarget?: number | undefined;
|
1254
1259
|
parallelWorkers?: number | undefined;
|
1255
1260
|
autovacuumEnabled?: boolean | undefined;
|
1256
|
-
vacuumIndexCleanup?: "
|
1261
|
+
vacuumIndexCleanup?: "on" | "auto" | "off" | undefined;
|
1257
1262
|
vacuumTruncate?: boolean | undefined;
|
1258
1263
|
autovacuumVacuumThreshold?: number | undefined;
|
1259
1264
|
autovacuumVacuumScaleFactor?: number | undefined;
|
@@ -1315,6 +1320,31 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
1315
1320
|
createRole?: boolean | undefined;
|
1316
1321
|
inherit?: boolean | undefined;
|
1317
1322
|
}>>>;
|
1323
|
+
policies: zod.ZodDefault<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
|
1324
|
+
name: zod.ZodString;
|
1325
|
+
as: zod.ZodOptional<zod.ZodEnum<["PERMISSIVE", "RESTRICTIVE"]>>;
|
1326
|
+
for: zod.ZodOptional<zod.ZodEnum<["ALL", "SELECT", "INSERT", "UPDATE", "DELETE"]>>;
|
1327
|
+
to: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
|
1328
|
+
using: zod.ZodOptional<zod.ZodString>;
|
1329
|
+
withCheck: zod.ZodOptional<zod.ZodString>;
|
1330
|
+
on: zod.ZodOptional<zod.ZodString>;
|
1331
|
+
}, "strict", zod.ZodTypeAny, {
|
1332
|
+
name: string;
|
1333
|
+
using?: string | undefined;
|
1334
|
+
as?: "PERMISSIVE" | "RESTRICTIVE" | undefined;
|
1335
|
+
for?: "ALL" | "SELECT" | "INSERT" | "UPDATE" | "DELETE" | undefined;
|
1336
|
+
to?: string[] | undefined;
|
1337
|
+
withCheck?: string | undefined;
|
1338
|
+
on?: string | undefined;
|
1339
|
+
}, {
|
1340
|
+
name: string;
|
1341
|
+
using?: string | undefined;
|
1342
|
+
as?: "PERMISSIVE" | "RESTRICTIVE" | undefined;
|
1343
|
+
for?: "ALL" | "SELECT" | "INSERT" | "UPDATE" | "DELETE" | undefined;
|
1344
|
+
to?: string[] | undefined;
|
1345
|
+
withCheck?: string | undefined;
|
1346
|
+
on?: string | undefined;
|
1347
|
+
}>>>;
|
1318
1348
|
_meta: zod.ZodObject<{
|
1319
1349
|
schemas: zod.ZodRecord<zod.ZodString, zod.ZodString>;
|
1320
1350
|
tables: zod.ZodRecord<zod.ZodString, zod.ZodString>;
|
@@ -1458,6 +1488,7 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
1458
1488
|
for?: "ALL" | "SELECT" | "INSERT" | "UPDATE" | "DELETE" | undefined;
|
1459
1489
|
to?: string[] | undefined;
|
1460
1490
|
withCheck?: string | undefined;
|
1491
|
+
on?: string | undefined;
|
1461
1492
|
}>;
|
1462
1493
|
isRLSEnabled: boolean;
|
1463
1494
|
}>;
|
@@ -1512,7 +1543,7 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
1512
1543
|
toastTupleTarget?: number | undefined;
|
1513
1544
|
parallelWorkers?: number | undefined;
|
1514
1545
|
autovacuumEnabled?: boolean | undefined;
|
1515
|
-
vacuumIndexCleanup?: "
|
1546
|
+
vacuumIndexCleanup?: "on" | "auto" | "off" | undefined;
|
1516
1547
|
vacuumTruncate?: boolean | undefined;
|
1517
1548
|
autovacuumVacuumThreshold?: number | undefined;
|
1518
1549
|
autovacuumVacuumScaleFactor?: number | undefined;
|
@@ -1535,6 +1566,15 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
1535
1566
|
values: string[];
|
1536
1567
|
schema: string;
|
1537
1568
|
}>;
|
1569
|
+
policies: Record<string, {
|
1570
|
+
name: string;
|
1571
|
+
using?: string | undefined;
|
1572
|
+
as?: "PERMISSIVE" | "RESTRICTIVE" | undefined;
|
1573
|
+
for?: "ALL" | "SELECT" | "INSERT" | "UPDATE" | "DELETE" | undefined;
|
1574
|
+
to?: string[] | undefined;
|
1575
|
+
withCheck?: string | undefined;
|
1576
|
+
on?: string | undefined;
|
1577
|
+
}>;
|
1538
1578
|
sequences: Record<string, {
|
1539
1579
|
name: string;
|
1540
1580
|
schema: string;
|
@@ -1636,6 +1676,7 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
1636
1676
|
for?: "ALL" | "SELECT" | "INSERT" | "UPDATE" | "DELETE" | undefined;
|
1637
1677
|
to?: string[] | undefined;
|
1638
1678
|
withCheck?: string | undefined;
|
1679
|
+
on?: string | undefined;
|
1639
1680
|
}> | undefined;
|
1640
1681
|
isRLSEnabled?: boolean | undefined;
|
1641
1682
|
}>;
|
@@ -1705,7 +1746,7 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
1705
1746
|
toastTupleTarget?: number | undefined;
|
1706
1747
|
parallelWorkers?: number | undefined;
|
1707
1748
|
autovacuumEnabled?: boolean | undefined;
|
1708
|
-
vacuumIndexCleanup?: "
|
1749
|
+
vacuumIndexCleanup?: "on" | "auto" | "off" | undefined;
|
1709
1750
|
vacuumTruncate?: boolean | undefined;
|
1710
1751
|
autovacuumVacuumThreshold?: number | undefined;
|
1711
1752
|
autovacuumVacuumScaleFactor?: number | undefined;
|
@@ -1723,6 +1764,15 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
1723
1764
|
withNoData?: boolean | undefined;
|
1724
1765
|
tablespace?: string | undefined;
|
1725
1766
|
}> | undefined;
|
1767
|
+
policies?: Record<string, {
|
1768
|
+
name: string;
|
1769
|
+
using?: string | undefined;
|
1770
|
+
as?: "PERMISSIVE" | "RESTRICTIVE" | undefined;
|
1771
|
+
for?: "ALL" | "SELECT" | "INSERT" | "UPDATE" | "DELETE" | undefined;
|
1772
|
+
to?: string[] | undefined;
|
1773
|
+
withCheck?: string | undefined;
|
1774
|
+
on?: string | undefined;
|
1775
|
+
}> | undefined;
|
1726
1776
|
sequences?: Record<string, {
|
1727
1777
|
name: string;
|
1728
1778
|
schema: string;
|
@@ -2318,6 +2368,7 @@ declare const upPgSnapshot: (snapshot: Record<string, unknown>) => {
|
|
2318
2368
|
to?: string[] | undefined;
|
2319
2369
|
using?: string | undefined;
|
2320
2370
|
withCheck?: string | undefined;
|
2371
|
+
on?: string | undefined;
|
2321
2372
|
}>;
|
2322
2373
|
checkConstraints: Record<string, {
|
2323
2374
|
value: string;
|
@@ -2325,6 +2376,15 @@ declare const upPgSnapshot: (snapshot: Record<string, unknown>) => {
|
|
2325
2376
|
}>;
|
2326
2377
|
isRLSEnabled: boolean;
|
2327
2378
|
}>;
|
2379
|
+
policies: Record<string, {
|
2380
|
+
name: string;
|
2381
|
+
as?: "PERMISSIVE" | "RESTRICTIVE" | undefined;
|
2382
|
+
for?: "ALL" | "SELECT" | "INSERT" | "UPDATE" | "DELETE" | undefined;
|
2383
|
+
to?: string[] | undefined;
|
2384
|
+
using?: string | undefined;
|
2385
|
+
withCheck?: string | undefined;
|
2386
|
+
on?: string | undefined;
|
2387
|
+
}>;
|
2328
2388
|
enums: Record<string, {
|
2329
2389
|
values: string[];
|
2330
2390
|
name: string;
|
@@ -2370,7 +2430,7 @@ declare const upPgSnapshot: (snapshot: Record<string, unknown>) => {
|
|
2370
2430
|
toastTupleTarget?: number | undefined;
|
2371
2431
|
parallelWorkers?: number | undefined;
|
2372
2432
|
autovacuumEnabled?: boolean | undefined;
|
2373
|
-
vacuumIndexCleanup?: "
|
2433
|
+
vacuumIndexCleanup?: "on" | "auto" | "off" | undefined;
|
2374
2434
|
vacuumTruncate?: boolean | undefined;
|
2375
2435
|
autovacuumVacuumThreshold?: number | undefined;
|
2376
2436
|
autovacuumVacuumScaleFactor?: number | undefined;
|
package/api.d.ts
CHANGED
@@ -781,6 +781,7 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
781
781
|
to: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
|
782
782
|
using: zod.ZodOptional<zod.ZodString>;
|
783
783
|
withCheck: zod.ZodOptional<zod.ZodString>;
|
784
|
+
on: zod.ZodOptional<zod.ZodString>;
|
784
785
|
}, "strict", zod.ZodTypeAny, {
|
785
786
|
name: string;
|
786
787
|
using?: string | undefined;
|
@@ -788,6 +789,7 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
788
789
|
for?: "ALL" | "SELECT" | "INSERT" | "UPDATE" | "DELETE" | undefined;
|
789
790
|
to?: string[] | undefined;
|
790
791
|
withCheck?: string | undefined;
|
792
|
+
on?: string | undefined;
|
791
793
|
}, {
|
792
794
|
name: string;
|
793
795
|
using?: string | undefined;
|
@@ -795,6 +797,7 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
795
797
|
for?: "ALL" | "SELECT" | "INSERT" | "UPDATE" | "DELETE" | undefined;
|
796
798
|
to?: string[] | undefined;
|
797
799
|
withCheck?: string | undefined;
|
800
|
+
on?: string | undefined;
|
798
801
|
}>>>;
|
799
802
|
checkConstraints: zod.ZodDefault<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
|
800
803
|
name: zod.ZodString;
|
@@ -881,6 +884,7 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
881
884
|
for?: "ALL" | "SELECT" | "INSERT" | "UPDATE" | "DELETE" | undefined;
|
882
885
|
to?: string[] | undefined;
|
883
886
|
withCheck?: string | undefined;
|
887
|
+
on?: string | undefined;
|
884
888
|
}>;
|
885
889
|
isRLSEnabled: boolean;
|
886
890
|
}, {
|
@@ -957,6 +961,7 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
957
961
|
for?: "ALL" | "SELECT" | "INSERT" | "UPDATE" | "DELETE" | undefined;
|
958
962
|
to?: string[] | undefined;
|
959
963
|
withCheck?: string | undefined;
|
964
|
+
on?: string | undefined;
|
960
965
|
}> | undefined;
|
961
966
|
isRLSEnabled?: boolean | undefined;
|
962
967
|
}>>;
|
@@ -1113,7 +1118,7 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
1113
1118
|
toastTupleTarget?: number | undefined;
|
1114
1119
|
parallelWorkers?: number | undefined;
|
1115
1120
|
autovacuumEnabled?: boolean | undefined;
|
1116
|
-
vacuumIndexCleanup?: "
|
1121
|
+
vacuumIndexCleanup?: "on" | "auto" | "off" | undefined;
|
1117
1122
|
vacuumTruncate?: boolean | undefined;
|
1118
1123
|
autovacuumVacuumThreshold?: number | undefined;
|
1119
1124
|
autovacuumVacuumScaleFactor?: number | undefined;
|
@@ -1135,7 +1140,7 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
1135
1140
|
toastTupleTarget?: number | undefined;
|
1136
1141
|
parallelWorkers?: number | undefined;
|
1137
1142
|
autovacuumEnabled?: boolean | undefined;
|
1138
|
-
vacuumIndexCleanup?: "
|
1143
|
+
vacuumIndexCleanup?: "on" | "auto" | "off" | undefined;
|
1139
1144
|
vacuumTruncate?: boolean | undefined;
|
1140
1145
|
autovacuumVacuumThreshold?: number | undefined;
|
1141
1146
|
autovacuumVacuumScaleFactor?: number | undefined;
|
@@ -1195,7 +1200,7 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
1195
1200
|
toastTupleTarget?: number | undefined;
|
1196
1201
|
parallelWorkers?: number | undefined;
|
1197
1202
|
autovacuumEnabled?: boolean | undefined;
|
1198
|
-
vacuumIndexCleanup?: "
|
1203
|
+
vacuumIndexCleanup?: "on" | "auto" | "off" | undefined;
|
1199
1204
|
vacuumTruncate?: boolean | undefined;
|
1200
1205
|
autovacuumVacuumThreshold?: number | undefined;
|
1201
1206
|
autovacuumVacuumScaleFactor?: number | undefined;
|
@@ -1253,7 +1258,7 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
1253
1258
|
toastTupleTarget?: number | undefined;
|
1254
1259
|
parallelWorkers?: number | undefined;
|
1255
1260
|
autovacuumEnabled?: boolean | undefined;
|
1256
|
-
vacuumIndexCleanup?: "
|
1261
|
+
vacuumIndexCleanup?: "on" | "auto" | "off" | undefined;
|
1257
1262
|
vacuumTruncate?: boolean | undefined;
|
1258
1263
|
autovacuumVacuumThreshold?: number | undefined;
|
1259
1264
|
autovacuumVacuumScaleFactor?: number | undefined;
|
@@ -1315,6 +1320,31 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
1315
1320
|
createRole?: boolean | undefined;
|
1316
1321
|
inherit?: boolean | undefined;
|
1317
1322
|
}>>>;
|
1323
|
+
policies: zod.ZodDefault<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
|
1324
|
+
name: zod.ZodString;
|
1325
|
+
as: zod.ZodOptional<zod.ZodEnum<["PERMISSIVE", "RESTRICTIVE"]>>;
|
1326
|
+
for: zod.ZodOptional<zod.ZodEnum<["ALL", "SELECT", "INSERT", "UPDATE", "DELETE"]>>;
|
1327
|
+
to: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
|
1328
|
+
using: zod.ZodOptional<zod.ZodString>;
|
1329
|
+
withCheck: zod.ZodOptional<zod.ZodString>;
|
1330
|
+
on: zod.ZodOptional<zod.ZodString>;
|
1331
|
+
}, "strict", zod.ZodTypeAny, {
|
1332
|
+
name: string;
|
1333
|
+
using?: string | undefined;
|
1334
|
+
as?: "PERMISSIVE" | "RESTRICTIVE" | undefined;
|
1335
|
+
for?: "ALL" | "SELECT" | "INSERT" | "UPDATE" | "DELETE" | undefined;
|
1336
|
+
to?: string[] | undefined;
|
1337
|
+
withCheck?: string | undefined;
|
1338
|
+
on?: string | undefined;
|
1339
|
+
}, {
|
1340
|
+
name: string;
|
1341
|
+
using?: string | undefined;
|
1342
|
+
as?: "PERMISSIVE" | "RESTRICTIVE" | undefined;
|
1343
|
+
for?: "ALL" | "SELECT" | "INSERT" | "UPDATE" | "DELETE" | undefined;
|
1344
|
+
to?: string[] | undefined;
|
1345
|
+
withCheck?: string | undefined;
|
1346
|
+
on?: string | undefined;
|
1347
|
+
}>>>;
|
1318
1348
|
_meta: zod.ZodObject<{
|
1319
1349
|
schemas: zod.ZodRecord<zod.ZodString, zod.ZodString>;
|
1320
1350
|
tables: zod.ZodRecord<zod.ZodString, zod.ZodString>;
|
@@ -1458,6 +1488,7 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
1458
1488
|
for?: "ALL" | "SELECT" | "INSERT" | "UPDATE" | "DELETE" | undefined;
|
1459
1489
|
to?: string[] | undefined;
|
1460
1490
|
withCheck?: string | undefined;
|
1491
|
+
on?: string | undefined;
|
1461
1492
|
}>;
|
1462
1493
|
isRLSEnabled: boolean;
|
1463
1494
|
}>;
|
@@ -1512,7 +1543,7 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
1512
1543
|
toastTupleTarget?: number | undefined;
|
1513
1544
|
parallelWorkers?: number | undefined;
|
1514
1545
|
autovacuumEnabled?: boolean | undefined;
|
1515
|
-
vacuumIndexCleanup?: "
|
1546
|
+
vacuumIndexCleanup?: "on" | "auto" | "off" | undefined;
|
1516
1547
|
vacuumTruncate?: boolean | undefined;
|
1517
1548
|
autovacuumVacuumThreshold?: number | undefined;
|
1518
1549
|
autovacuumVacuumScaleFactor?: number | undefined;
|
@@ -1535,6 +1566,15 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
1535
1566
|
values: string[];
|
1536
1567
|
schema: string;
|
1537
1568
|
}>;
|
1569
|
+
policies: Record<string, {
|
1570
|
+
name: string;
|
1571
|
+
using?: string | undefined;
|
1572
|
+
as?: "PERMISSIVE" | "RESTRICTIVE" | undefined;
|
1573
|
+
for?: "ALL" | "SELECT" | "INSERT" | "UPDATE" | "DELETE" | undefined;
|
1574
|
+
to?: string[] | undefined;
|
1575
|
+
withCheck?: string | undefined;
|
1576
|
+
on?: string | undefined;
|
1577
|
+
}>;
|
1538
1578
|
sequences: Record<string, {
|
1539
1579
|
name: string;
|
1540
1580
|
schema: string;
|
@@ -1636,6 +1676,7 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
1636
1676
|
for?: "ALL" | "SELECT" | "INSERT" | "UPDATE" | "DELETE" | undefined;
|
1637
1677
|
to?: string[] | undefined;
|
1638
1678
|
withCheck?: string | undefined;
|
1679
|
+
on?: string | undefined;
|
1639
1680
|
}> | undefined;
|
1640
1681
|
isRLSEnabled?: boolean | undefined;
|
1641
1682
|
}>;
|
@@ -1705,7 +1746,7 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
1705
1746
|
toastTupleTarget?: number | undefined;
|
1706
1747
|
parallelWorkers?: number | undefined;
|
1707
1748
|
autovacuumEnabled?: boolean | undefined;
|
1708
|
-
vacuumIndexCleanup?: "
|
1749
|
+
vacuumIndexCleanup?: "on" | "auto" | "off" | undefined;
|
1709
1750
|
vacuumTruncate?: boolean | undefined;
|
1710
1751
|
autovacuumVacuumThreshold?: number | undefined;
|
1711
1752
|
autovacuumVacuumScaleFactor?: number | undefined;
|
@@ -1723,6 +1764,15 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
1723
1764
|
withNoData?: boolean | undefined;
|
1724
1765
|
tablespace?: string | undefined;
|
1725
1766
|
}> | undefined;
|
1767
|
+
policies?: Record<string, {
|
1768
|
+
name: string;
|
1769
|
+
using?: string | undefined;
|
1770
|
+
as?: "PERMISSIVE" | "RESTRICTIVE" | undefined;
|
1771
|
+
for?: "ALL" | "SELECT" | "INSERT" | "UPDATE" | "DELETE" | undefined;
|
1772
|
+
to?: string[] | undefined;
|
1773
|
+
withCheck?: string | undefined;
|
1774
|
+
on?: string | undefined;
|
1775
|
+
}> | undefined;
|
1726
1776
|
sequences?: Record<string, {
|
1727
1777
|
name: string;
|
1728
1778
|
schema: string;
|
@@ -2318,6 +2368,7 @@ declare const upPgSnapshot: (snapshot: Record<string, unknown>) => {
|
|
2318
2368
|
to?: string[] | undefined;
|
2319
2369
|
using?: string | undefined;
|
2320
2370
|
withCheck?: string | undefined;
|
2371
|
+
on?: string | undefined;
|
2321
2372
|
}>;
|
2322
2373
|
checkConstraints: Record<string, {
|
2323
2374
|
value: string;
|
@@ -2325,6 +2376,15 @@ declare const upPgSnapshot: (snapshot: Record<string, unknown>) => {
|
|
2325
2376
|
}>;
|
2326
2377
|
isRLSEnabled: boolean;
|
2327
2378
|
}>;
|
2379
|
+
policies: Record<string, {
|
2380
|
+
name: string;
|
2381
|
+
as?: "PERMISSIVE" | "RESTRICTIVE" | undefined;
|
2382
|
+
for?: "ALL" | "SELECT" | "INSERT" | "UPDATE" | "DELETE" | undefined;
|
2383
|
+
to?: string[] | undefined;
|
2384
|
+
using?: string | undefined;
|
2385
|
+
withCheck?: string | undefined;
|
2386
|
+
on?: string | undefined;
|
2387
|
+
}>;
|
2328
2388
|
enums: Record<string, {
|
2329
2389
|
values: string[];
|
2330
2390
|
name: string;
|
@@ -2370,7 +2430,7 @@ declare const upPgSnapshot: (snapshot: Record<string, unknown>) => {
|
|
2370
2430
|
toastTupleTarget?: number | undefined;
|
2371
2431
|
parallelWorkers?: number | undefined;
|
2372
2432
|
autovacuumEnabled?: boolean | undefined;
|
2373
|
-
vacuumIndexCleanup?: "
|
2433
|
+
vacuumIndexCleanup?: "on" | "auto" | "off" | undefined;
|
2374
2434
|
vacuumTruncate?: boolean | undefined;
|
2375
2435
|
autovacuumVacuumThreshold?: number | undefined;
|
2376
2436
|
autovacuumVacuumScaleFactor?: number | undefined;
|