drizzle-kit 1.0.0-beta.22-eaa25cd → 1.0.0-beta.22-46020ee

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.
@@ -58,35 +58,35 @@ declare const postgresCredentials: ZodUnion<[ZodEffects<ZodObject<{
58
58
  }, "strip", ZodTypeAny, {
59
59
  host: string;
60
60
  database: string;
61
- password?: string | undefined;
62
- driver?: undefined;
63
61
  port?: number | undefined;
64
62
  user?: string | undefined;
63
+ password?: string | undefined;
65
64
  ssl?: boolean | "require" | "allow" | "prefer" | "verify-full" | objectOutputType<{}, ZodTypeAny, "passthrough"> | undefined;
65
+ driver?: undefined;
66
66
  }, {
67
67
  host: string;
68
68
  database: string;
69
- password?: string | undefined;
70
- driver?: undefined;
71
69
  port?: number | undefined;
72
70
  user?: string | undefined;
71
+ password?: string | undefined;
73
72
  ssl?: boolean | "require" | "allow" | "prefer" | "verify-full" | objectInputType<{}, ZodTypeAny, "passthrough"> | undefined;
73
+ driver?: undefined;
74
74
  }>, Omit<{
75
75
  host: string;
76
76
  database: string;
77
- password?: string | undefined;
78
- driver?: undefined;
79
77
  port?: number | undefined;
80
78
  user?: string | undefined;
79
+ password?: string | undefined;
81
80
  ssl?: boolean | "require" | "allow" | "prefer" | "verify-full" | objectOutputType<{}, ZodTypeAny, "passthrough"> | undefined;
81
+ driver?: undefined;
82
82
  }, "driver">, {
83
83
  host: string;
84
84
  database: string;
85
- password?: string | undefined;
86
- driver?: undefined;
87
85
  port?: number | undefined;
88
86
  user?: string | undefined;
87
+ password?: string | undefined;
89
88
  ssl?: boolean | "require" | "allow" | "prefer" | "verify-full" | objectInputType<{}, ZodTypeAny, "passthrough"> | undefined;
89
+ driver?: undefined;
90
90
  }>, ZodEffects<ZodObject<{
91
91
  driver: ZodUndefined;
92
92
  url: ZodString;
@@ -107,24 +107,24 @@ declare const postgresCredentials: ZodUnion<[ZodEffects<ZodObject<{
107
107
  secretArn: ZodString;
108
108
  resourceArn: ZodString;
109
109
  }, "strip", ZodTypeAny, {
110
- driver: "aws-data-api";
111
110
  database: string;
111
+ driver: "aws-data-api";
112
112
  secretArn: string;
113
113
  resourceArn: string;
114
114
  }, {
115
- driver: "aws-data-api";
116
115
  database: string;
116
+ driver: "aws-data-api";
117
117
  secretArn: string;
118
118
  resourceArn: string;
119
119
  }>, ZodObject<{
120
120
  driver: ZodLiteral<"pglite">;
121
121
  url: ZodString;
122
122
  }, "strip", ZodTypeAny, {
123
- driver: "pglite";
124
123
  url: string;
125
- }, {
126
124
  driver: "pglite";
125
+ }, {
127
126
  url: string;
127
+ driver: "pglite";
128
128
  }>]>;
129
129
  type PostgresCredentials = TypeOf<typeof postgresCredentials>;
130
130
  //#endregion
@@ -716,6 +716,10 @@ declare const createDDL: () => {
716
716
  schema: string;
717
717
  table: string;
718
718
  name: string;
719
+ with?: {
720
+ from: string;
721
+ to: string;
722
+ } | undefined;
719
723
  columns?: {
720
724
  from: {
721
725
  value: string;
@@ -738,10 +742,6 @@ declare const createDDL: () => {
738
742
  } | null;
739
743
  }[];
740
744
  } | undefined;
741
- with?: {
742
- from: string;
743
- to: string;
744
- } | undefined;
745
745
  nameExplicit?: {
746
746
  from: boolean;
747
747
  to: boolean;
@@ -1017,6 +1017,10 @@ declare const createDDL: () => {
1017
1017
  $diffType: "alter";
1018
1018
  entityType: "roles";
1019
1019
  name: string;
1020
+ password?: {
1021
+ from: string | null;
1022
+ to: string | null;
1023
+ } | undefined;
1020
1024
  superuser?: {
1021
1025
  from: boolean | null;
1022
1026
  to: boolean | null;
@@ -1049,10 +1053,6 @@ declare const createDDL: () => {
1049
1053
  from: number | null;
1050
1054
  to: number | null;
1051
1055
  } | undefined;
1052
- password?: {
1053
- from: string | null;
1054
- to: string | null;
1055
- } | undefined;
1056
1056
  validUntil?: {
1057
1057
  from: string | null;
1058
1058
  to: string | null;
@@ -1486,6 +1486,10 @@ declare const createDDL: () => {
1486
1486
  schema: string;
1487
1487
  table: string;
1488
1488
  name: string;
1489
+ with?: {
1490
+ from: string;
1491
+ to: string;
1492
+ } | undefined;
1489
1493
  columns?: {
1490
1494
  from: {
1491
1495
  value: string;
@@ -1508,10 +1512,6 @@ declare const createDDL: () => {
1508
1512
  } | null;
1509
1513
  }[];
1510
1514
  } | undefined;
1511
- with?: {
1512
- from: string;
1513
- to: string;
1514
- } | undefined;
1515
1515
  nameExplicit?: {
1516
1516
  from: boolean;
1517
1517
  to: boolean;
@@ -1781,6 +1781,10 @@ declare const createDDL: () => {
1781
1781
  $diffType: "alter";
1782
1782
  entityType: "roles";
1783
1783
  name: string;
1784
+ password?: {
1785
+ from: string | null;
1786
+ to: string | null;
1787
+ } | undefined;
1784
1788
  superuser?: {
1785
1789
  from: boolean | null;
1786
1790
  to: boolean | null;
@@ -1813,10 +1817,6 @@ declare const createDDL: () => {
1813
1817
  from: number | null;
1814
1818
  to: number | null;
1815
1819
  } | undefined;
1816
- password?: {
1817
- from: string | null;
1818
- to: string | null;
1819
- } | undefined;
1820
1820
  validUntil?: {
1821
1821
  from: string | null;
1822
1822
  to: string | null;
@@ -2132,6 +2132,7 @@ declare const createDDL: () => {
2132
2132
  schema: string;
2133
2133
  table: string;
2134
2134
  name: string;
2135
+ with: string;
2135
2136
  columns: {
2136
2137
  value: string;
2137
2138
  isExpression: boolean;
@@ -2142,7 +2143,6 @@ declare const createDDL: () => {
2142
2143
  default: boolean;
2143
2144
  } | null;
2144
2145
  }[];
2145
- with: string;
2146
2146
  nameExplicit: boolean;
2147
2147
  isUnique: boolean;
2148
2148
  where: string | null;
@@ -2206,6 +2206,7 @@ declare const createDDL: () => {
2206
2206
  $diffType: "create";
2207
2207
  entityType: "roles";
2208
2208
  name: string;
2209
+ password: string | null;
2209
2210
  superuser: boolean | null;
2210
2211
  createDb: boolean | null;
2211
2212
  createRole: boolean | null;
@@ -2214,7 +2215,6 @@ declare const createDDL: () => {
2214
2215
  replication: boolean | null;
2215
2216
  bypassRls: boolean | null;
2216
2217
  connLimit: number | null;
2217
- password: string | null;
2218
2218
  validUntil: string | null;
2219
2219
  };
2220
2220
  privileges: {
@@ -2321,6 +2321,7 @@ declare const createDDL: () => {
2321
2321
  schema: string;
2322
2322
  table: string;
2323
2323
  name: string;
2324
+ with: string;
2324
2325
  columns: {
2325
2326
  value: string;
2326
2327
  isExpression: boolean;
@@ -2331,7 +2332,6 @@ declare const createDDL: () => {
2331
2332
  default: boolean;
2332
2333
  } | null;
2333
2334
  }[];
2334
- with: string;
2335
2335
  nameExplicit: boolean;
2336
2336
  isUnique: boolean;
2337
2337
  where: string | null;
@@ -2389,6 +2389,7 @@ declare const createDDL: () => {
2389
2389
  $diffType: "create";
2390
2390
  entityType: "roles";
2391
2391
  name: string;
2392
+ password: string | null;
2392
2393
  superuser: boolean | null;
2393
2394
  createDb: boolean | null;
2394
2395
  createRole: boolean | null;
@@ -2397,7 +2398,6 @@ declare const createDDL: () => {
2397
2398
  replication: boolean | null;
2398
2399
  bypassRls: boolean | null;
2399
2400
  connLimit: number | null;
2400
- password: string | null;
2401
2401
  validUntil: string | null;
2402
2402
  } | {
2403
2403
  $diffType: "create";
@@ -2507,6 +2507,7 @@ declare const createDDL: () => {
2507
2507
  schema: string;
2508
2508
  table: string;
2509
2509
  name: string;
2510
+ with: string;
2510
2511
  columns: {
2511
2512
  value: string;
2512
2513
  isExpression: boolean;
@@ -2517,7 +2518,6 @@ declare const createDDL: () => {
2517
2518
  default: boolean;
2518
2519
  } | null;
2519
2520
  }[];
2520
- with: string;
2521
2521
  nameExplicit: boolean;
2522
2522
  isUnique: boolean;
2523
2523
  where: string | null;
@@ -2581,6 +2581,7 @@ declare const createDDL: () => {
2581
2581
  $diffType: "drop";
2582
2582
  entityType: "roles";
2583
2583
  name: string;
2584
+ password: string | null;
2584
2585
  superuser: boolean | null;
2585
2586
  createDb: boolean | null;
2586
2587
  createRole: boolean | null;
@@ -2589,7 +2590,6 @@ declare const createDDL: () => {
2589
2590
  replication: boolean | null;
2590
2591
  bypassRls: boolean | null;
2591
2592
  connLimit: number | null;
2592
- password: string | null;
2593
2593
  validUntil: string | null;
2594
2594
  };
2595
2595
  privileges: {
@@ -2696,6 +2696,7 @@ declare const createDDL: () => {
2696
2696
  schema: string;
2697
2697
  table: string;
2698
2698
  name: string;
2699
+ with: string;
2699
2700
  columns: {
2700
2701
  value: string;
2701
2702
  isExpression: boolean;
@@ -2706,7 +2707,6 @@ declare const createDDL: () => {
2706
2707
  default: boolean;
2707
2708
  } | null;
2708
2709
  }[];
2709
- with: string;
2710
2710
  nameExplicit: boolean;
2711
2711
  isUnique: boolean;
2712
2712
  where: string | null;
@@ -2764,6 +2764,7 @@ declare const createDDL: () => {
2764
2764
  $diffType: "drop";
2765
2765
  entityType: "roles";
2766
2766
  name: string;
2767
+ password: string | null;
2767
2768
  superuser: boolean | null;
2768
2769
  createDb: boolean | null;
2769
2770
  createRole: boolean | null;
@@ -2772,7 +2773,6 @@ declare const createDDL: () => {
2772
2773
  replication: boolean | null;
2773
2774
  bypassRls: boolean | null;
2774
2775
  connLimit: number | null;
2775
- password: string | null;
2776
2776
  validUntil: string | null;
2777
2777
  } | {
2778
2778
  $diffType: "drop";
@@ -2923,6 +2923,7 @@ declare const createDDL: () => {
2923
2923
  schema: string;
2924
2924
  table: string;
2925
2925
  name: string;
2926
+ with: string;
2926
2927
  columns: {
2927
2928
  value: string;
2928
2929
  isExpression: boolean;
@@ -2933,7 +2934,6 @@ declare const createDDL: () => {
2933
2934
  default: boolean;
2934
2935
  } | null;
2935
2936
  }[];
2936
- with: string;
2937
2937
  nameExplicit: boolean;
2938
2938
  isUnique: boolean;
2939
2939
  where: string | null;
@@ -2945,6 +2945,7 @@ declare const createDDL: () => {
2945
2945
  schema: string;
2946
2946
  table: string;
2947
2947
  name: string;
2948
+ with: string;
2948
2949
  columns: {
2949
2950
  value: string;
2950
2951
  isExpression: boolean;
@@ -2955,7 +2956,6 @@ declare const createDDL: () => {
2955
2956
  default: boolean;
2956
2957
  } | null;
2957
2958
  }[];
2958
- with: string;
2959
2959
  nameExplicit: boolean;
2960
2960
  isUnique: boolean;
2961
2961
  where: string | null;
@@ -3067,6 +3067,7 @@ declare const createDDL: () => {
3067
3067
  $diffType: "create";
3068
3068
  entityType: "roles";
3069
3069
  name: string;
3070
+ password: string | null;
3070
3071
  superuser: boolean | null;
3071
3072
  createDb: boolean | null;
3072
3073
  createRole: boolean | null;
@@ -3075,12 +3076,12 @@ declare const createDDL: () => {
3075
3076
  replication: boolean | null;
3076
3077
  bypassRls: boolean | null;
3077
3078
  connLimit: number | null;
3078
- password: string | null;
3079
3079
  validUntil: string | null;
3080
3080
  } | {
3081
3081
  $diffType: "drop";
3082
3082
  entityType: "roles";
3083
3083
  name: string;
3084
+ password: string | null;
3084
3085
  superuser: boolean | null;
3085
3086
  createDb: boolean | null;
3086
3087
  createRole: boolean | null;
@@ -3089,7 +3090,6 @@ declare const createDDL: () => {
3089
3090
  replication: boolean | null;
3090
3091
  bypassRls: boolean | null;
3091
3092
  connLimit: number | null;
3092
- password: string | null;
3093
3093
  validUntil: string | null;
3094
3094
  };
3095
3095
  privileges: {
@@ -3250,6 +3250,7 @@ declare const createDDL: () => {
3250
3250
  schema: string;
3251
3251
  table: string;
3252
3252
  name: string;
3253
+ with: string;
3253
3254
  columns: {
3254
3255
  value: string;
3255
3256
  isExpression: boolean;
@@ -3260,7 +3261,6 @@ declare const createDDL: () => {
3260
3261
  default: boolean;
3261
3262
  } | null;
3262
3263
  }[];
3263
- with: string;
3264
3264
  nameExplicit: boolean;
3265
3265
  isUnique: boolean;
3266
3266
  where: string | null;
@@ -3318,6 +3318,7 @@ declare const createDDL: () => {
3318
3318
  $diffType: "create";
3319
3319
  entityType: "roles";
3320
3320
  name: string;
3321
+ password: string | null;
3321
3322
  superuser: boolean | null;
3322
3323
  createDb: boolean | null;
3323
3324
  createRole: boolean | null;
@@ -3326,7 +3327,6 @@ declare const createDDL: () => {
3326
3327
  replication: boolean | null;
3327
3328
  bypassRls: boolean | null;
3328
3329
  connLimit: number | null;
3329
- password: string | null;
3330
3330
  validUntil: string | null;
3331
3331
  } | {
3332
3332
  $diffType: "create";
@@ -3429,6 +3429,7 @@ declare const createDDL: () => {
3429
3429
  schema: string;
3430
3430
  table: string;
3431
3431
  name: string;
3432
+ with: string;
3432
3433
  columns: {
3433
3434
  value: string;
3434
3435
  isExpression: boolean;
@@ -3439,7 +3440,6 @@ declare const createDDL: () => {
3439
3440
  default: boolean;
3440
3441
  } | null;
3441
3442
  }[];
3442
- with: string;
3443
3443
  nameExplicit: boolean;
3444
3444
  isUnique: boolean;
3445
3445
  where: string | null;
@@ -3497,6 +3497,7 @@ declare const createDDL: () => {
3497
3497
  $diffType: "drop";
3498
3498
  entityType: "roles";
3499
3499
  name: string;
3500
+ password: string | null;
3500
3501
  superuser: boolean | null;
3501
3502
  createDb: boolean | null;
3502
3503
  createRole: boolean | null;
@@ -3505,7 +3506,6 @@ declare const createDDL: () => {
3505
3506
  replication: boolean | null;
3506
3507
  bypassRls: boolean | null;
3507
3508
  connLimit: number | null;
3508
- password: string | null;
3509
3509
  validUntil: string | null;
3510
3510
  } | {
3511
3511
  $diffType: "drop";
@@ -6016,7 +6016,7 @@ declare const createDDL: () => {
6016
6016
  materialized: boolean;
6017
6017
  name: string;
6018
6018
  entityType: "views";
6019
- }, uniques?: "name"[] | ("schema" | "name" | "isRlsEnabled")[] | ("schema" | "name" | "values")[] | ("schema" | "table" | "name" | "type" | "typeSchema" | "notNull" | "dimensions" | "default" | "generated" | "identity")[] | ("schema" | "table" | "name" | "columns" | "with" | "nameExplicit" | "isUnique" | "where" | "method" | "concurrently")[] | ("schema" | "table" | "name" | "columns" | "nameExplicit" | "schemaTo" | "tableTo" | "columnsTo" | "onUpdate" | "onDelete")[] | ("schema" | "table" | "name" | "columns" | "nameExplicit")[] | ("schema" | "table" | "name" | "columns" | "nameExplicit" | "nullsNotDistinct")[] | ("schema" | "table" | "name" | "value")[] | ("schema" | "name" | "minValue" | "maxValue" | "startWith" | "cycle" | "incrementBy" | "cacheSize")[] | ("name" | "superuser" | "createDb" | "createRole" | "inherit" | "canLogin" | "replication" | "bypassRls" | "connLimit" | "password" | "validUntil")[] | ("schema" | "table" | "name" | "type" | "grantor" | "grantee" | "isGrantable")[] | ("schema" | "table" | "name" | "as" | "roles" | "for" | "using" | "withCheck")[] | ("schema" | "name" | "with" | "using" | "definition" | "withNoData" | "tablespace" | "materialized")[] | undefined) => {
6019
+ }, uniques?: "name"[] | ("schema" | "name" | "isRlsEnabled")[] | ("values" | "schema" | "name")[] | ("type" | "schema" | "table" | "name" | "typeSchema" | "notNull" | "dimensions" | "default" | "generated" | "identity")[] | ("with" | "schema" | "table" | "name" | "columns" | "nameExplicit" | "isUnique" | "where" | "method" | "concurrently")[] | ("schema" | "table" | "name" | "columns" | "nameExplicit" | "schemaTo" | "tableTo" | "columnsTo" | "onUpdate" | "onDelete")[] | ("schema" | "table" | "name" | "columns" | "nameExplicit")[] | ("schema" | "table" | "name" | "columns" | "nameExplicit" | "nullsNotDistinct")[] | ("value" | "schema" | "table" | "name")[] | ("schema" | "name" | "minValue" | "maxValue" | "startWith" | "cycle" | "incrementBy" | "cacheSize")[] | ("password" | "name" | "superuser" | "createDb" | "createRole" | "inherit" | "canLogin" | "replication" | "bypassRls" | "connLimit" | "validUntil")[] | ("type" | "schema" | "table" | "name" | "grantor" | "grantee" | "isGrantable")[] | ("schema" | "table" | "name" | "as" | "roles" | "for" | "using" | "withCheck")[] | ("with" | "schema" | "name" | "using" | "definition" | "withNoData" | "tablespace" | "materialized")[] | undefined) => {
6020
6020
  status: "OK" | "CONFLICT";
6021
6021
  data: {
6022
6022
  name: string;
@@ -6915,9 +6915,9 @@ declare const createDDL: () => {
6915
6915
  } | undefined;
6916
6916
  } | {
6917
6917
  set: {
6918
+ values?: string[] | ((item: string) => string) | undefined;
6918
6919
  schema?: string | ((item: string) => string) | undefined;
6919
6920
  name?: string | ((item: string) => string) | undefined;
6920
- values?: string[] | ((item: string) => string) | undefined;
6921
6921
  };
6922
6922
  where?: {
6923
6923
  schema?: string | undefined;
@@ -6929,10 +6929,10 @@ declare const createDDL: () => {
6929
6929
  } | undefined;
6930
6930
  } | {
6931
6931
  set: {
6932
+ type?: string | ((item: string) => string) | undefined;
6932
6933
  schema?: string | ((item: string) => string) | undefined;
6933
6934
  table?: string | ((item: string) => string) | undefined;
6934
6935
  name?: string | ((item: string) => string) | undefined;
6935
- type?: string | ((item: string) => string) | undefined;
6936
6936
  typeSchema?: string | ((item: string | null) => string | null) | null | undefined;
6937
6937
  notNull?: boolean | ((item: boolean) => boolean) | undefined;
6938
6938
  dimensions?: number | ((item: number) => number) | undefined;
@@ -7003,6 +7003,7 @@ declare const createDDL: () => {
7003
7003
  } | undefined;
7004
7004
  } | {
7005
7005
  set: {
7006
+ with?: string | ((item: string) => string) | undefined;
7006
7007
  schema?: string | ((item: string) => string) | undefined;
7007
7008
  table?: string | ((item: string) => string) | undefined;
7008
7009
  name?: string | ((item: string) => string) | undefined;
@@ -7034,7 +7035,6 @@ declare const createDDL: () => {
7034
7035
  default: boolean;
7035
7036
  } | null;
7036
7037
  }) | undefined;
7037
- with?: string | ((item: string) => string) | undefined;
7038
7038
  nameExplicit?: boolean | ((item: boolean) => boolean) | undefined;
7039
7039
  isUnique?: boolean | ((item: boolean) => boolean) | undefined;
7040
7040
  where?: string | ((item: string | null) => string | null) | null | undefined;
@@ -7144,10 +7144,10 @@ declare const createDDL: () => {
7144
7144
  } | undefined;
7145
7145
  } | {
7146
7146
  set: {
7147
+ value?: string | ((item: string) => string) | undefined;
7147
7148
  schema?: string | ((item: string) => string) | undefined;
7148
7149
  table?: string | ((item: string) => string) | undefined;
7149
7150
  name?: string | ((item: string) => string) | undefined;
7150
- value?: string | ((item: string) => string) | undefined;
7151
7151
  };
7152
7152
  where?: {
7153
7153
  schema?: string | undefined;
@@ -7180,6 +7180,7 @@ declare const createDDL: () => {
7180
7180
  } | undefined;
7181
7181
  } | {
7182
7182
  set: {
7183
+ password?: string | ((item: string | null) => string | null) | null | undefined;
7183
7184
  name?: string | ((item: string) => string) | undefined;
7184
7185
  superuser?: boolean | ((item: boolean | null) => boolean | null) | null | undefined;
7185
7186
  createDb?: boolean | ((item: boolean | null) => boolean | null) | null | undefined;
@@ -7189,7 +7190,6 @@ declare const createDDL: () => {
7189
7190
  replication?: boolean | ((item: boolean | null) => boolean | null) | null | undefined;
7190
7191
  bypassRls?: boolean | ((item: boolean | null) => boolean | null) | null | undefined;
7191
7192
  connLimit?: number | ((item: number | null) => number | null) | null | undefined;
7192
- password?: string | ((item: string | null) => string | null) | null | undefined;
7193
7193
  validUntil?: string | ((item: string | null) => string | null) | null | undefined;
7194
7194
  };
7195
7195
  where?: {
@@ -7208,10 +7208,10 @@ declare const createDDL: () => {
7208
7208
  } | undefined;
7209
7209
  } | {
7210
7210
  set: {
7211
+ type?: "ALL" | "SELECT" | "INSERT" | "UPDATE" | "DELETE" | "TRUNCATE" | "REFERENCES" | "TRIGGER" | ((item: "ALL" | "SELECT" | "INSERT" | "UPDATE" | "DELETE" | "TRUNCATE" | "REFERENCES" | "TRIGGER") => "ALL" | "SELECT" | "INSERT" | "UPDATE" | "DELETE" | "TRUNCATE" | "REFERENCES" | "TRIGGER") | undefined;
7211
7212
  schema?: string | ((item: string) => string) | undefined;
7212
7213
  table?: string | ((item: string) => string) | undefined;
7213
7214
  name?: string | ((item: string) => string) | undefined;
7214
- type?: "ALL" | "SELECT" | "INSERT" | "UPDATE" | "DELETE" | "TRUNCATE" | "REFERENCES" | "TRIGGER" | ((item: "ALL" | "SELECT" | "INSERT" | "UPDATE" | "DELETE" | "TRUNCATE" | "REFERENCES" | "TRIGGER") => "ALL" | "SELECT" | "INSERT" | "UPDATE" | "DELETE" | "TRUNCATE" | "REFERENCES" | "TRIGGER") | undefined;
7215
7215
  grantor?: string | ((item: string) => string) | undefined;
7216
7216
  grantee?: string | ((item: string) => string) | undefined;
7217
7217
  isGrantable?: boolean | ((item: boolean) => boolean) | undefined;
@@ -7252,8 +7252,6 @@ declare const createDDL: () => {
7252
7252
  } | undefined;
7253
7253
  } | {
7254
7254
  set: {
7255
- schema?: string | ((item: string) => string) | undefined;
7256
- name?: string | ((item: string) => string) | undefined;
7257
7255
  with?: {
7258
7256
  checkOption: "local" | "cascaded" | null;
7259
7257
  securityBarrier: boolean | null;
@@ -7321,6 +7319,8 @@ declare const createDDL: () => {
7321
7319
  logAutovacuumMinDuration: number | null;
7322
7320
  userCatalogTable: boolean | null;
7323
7321
  } | null) | null | undefined;
7322
+ schema?: string | ((item: string) => string) | undefined;
7323
+ name?: string | ((item: string) => string) | undefined;
7324
7324
  using?: string | ((item: string | null) => string | null) | null | undefined;
7325
7325
  definition?: string | ((item: string | null) => string | null) | null | undefined;
7326
7326
  withNoData?: boolean | ((item: boolean | null) => boolean | null) | null | undefined;
@@ -8217,6 +8217,10 @@ declare const createDDL: () => {
8217
8217
  schema: string;
8218
8218
  table: string;
8219
8219
  name: string;
8220
+ with?: {
8221
+ from: string;
8222
+ to: string;
8223
+ } | undefined;
8220
8224
  columns?: {
8221
8225
  from: {
8222
8226
  value: string;
@@ -8239,10 +8243,6 @@ declare const createDDL: () => {
8239
8243
  } | null;
8240
8244
  }[];
8241
8245
  } | undefined;
8242
- with?: {
8243
- from: string;
8244
- to: string;
8245
- } | undefined;
8246
8246
  nameExplicit?: {
8247
8247
  from: boolean;
8248
8248
  to: boolean;
@@ -8512,6 +8512,10 @@ declare const createDDL: () => {
8512
8512
  $diffType: "alter";
8513
8513
  entityType: "roles";
8514
8514
  name: string;
8515
+ password?: {
8516
+ from: string | null;
8517
+ to: string | null;
8518
+ } | undefined;
8515
8519
  superuser?: {
8516
8520
  from: boolean | null;
8517
8521
  to: boolean | null;
@@ -8544,10 +8548,6 @@ declare const createDDL: () => {
8544
8548
  from: number | null;
8545
8549
  to: number | null;
8546
8550
  } | undefined;
8547
- password?: {
8548
- from: string | null;
8549
- to: string | null;
8550
- } | undefined;
8551
8551
  validUntil?: {
8552
8552
  from: string | null;
8553
8553
  to: string | null;
@@ -8974,10 +8974,10 @@ declare const createDDL: () => {
8974
8974
  };
8975
8975
  enums: {
8976
8976
  push: (input: {
8977
+ values: string[];
8977
8978
  schema: string;
8978
8979
  name: string;
8979
- values: string[];
8980
- }, uniques?: ("schema" | "name" | "values")[] | undefined) => {
8980
+ }, uniques?: ("values" | "schema" | "name")[] | undefined) => {
8981
8981
  status: "OK" | "CONFLICT";
8982
8982
  data: {
8983
8983
  schema: string;
@@ -9014,9 +9014,9 @@ declare const createDDL: () => {
9014
9014
  } | null;
9015
9015
  update: (config: {
9016
9016
  set: {
9017
+ values?: string[] | ((item: string) => string) | undefined;
9017
9018
  schema?: string | ((item: string) => string) | undefined;
9018
9019
  name?: string | ((item: string) => string) | undefined;
9019
- values?: string[] | ((item: string) => string) | undefined;
9020
9020
  };
9021
9021
  where?: {
9022
9022
  schema?: string | undefined;
@@ -9079,10 +9079,10 @@ declare const createDDL: () => {
9079
9079
  };
9080
9080
  columns: {
9081
9081
  push: (input: {
9082
+ type: string;
9082
9083
  schema: string;
9083
9084
  table: string;
9084
9085
  name: string;
9085
- type: string;
9086
9086
  typeSchema: string | null | undefined;
9087
9087
  notNull: boolean;
9088
9088
  dimensions: number;
@@ -9101,7 +9101,7 @@ declare const createDDL: () => {
9101
9101
  cache: number | null;
9102
9102
  cycle: boolean | null;
9103
9103
  } | null | undefined;
9104
- }, uniques?: ("schema" | "table" | "name" | "type" | "typeSchema" | "notNull" | "dimensions" | "default" | "generated" | "identity")[] | undefined) => {
9104
+ }, uniques?: ("type" | "schema" | "table" | "name" | "typeSchema" | "notNull" | "dimensions" | "default" | "generated" | "identity")[] | undefined) => {
9105
9105
  status: "OK" | "CONFLICT";
9106
9106
  data: {
9107
9107
  schema: string;
@@ -9229,10 +9229,10 @@ declare const createDDL: () => {
9229
9229
  } | null;
9230
9230
  update: (config: {
9231
9231
  set: {
9232
+ type?: string | ((item: string) => string) | undefined;
9232
9233
  schema?: string | ((item: string) => string) | undefined;
9233
9234
  table?: string | ((item: string) => string) | undefined;
9234
9235
  name?: string | ((item: string) => string) | undefined;
9235
- type?: string | ((item: string) => string) | undefined;
9236
9236
  typeSchema?: string | ((item: string | null) => string | null) | null | undefined;
9237
9237
  notNull?: boolean | ((item: boolean) => boolean) | undefined;
9238
9238
  dimensions?: number | ((item: number) => number) | undefined;
@@ -9515,6 +9515,7 @@ declare const createDDL: () => {
9515
9515
  };
9516
9516
  indexes: {
9517
9517
  push: (input: {
9518
+ with: string;
9518
9519
  schema: string;
9519
9520
  table: string;
9520
9521
  name: string;
@@ -9528,13 +9529,12 @@ declare const createDDL: () => {
9528
9529
  default: boolean;
9529
9530
  } | null;
9530
9531
  }[];
9531
- with: string;
9532
9532
  nameExplicit: boolean;
9533
9533
  isUnique: boolean;
9534
9534
  where: string | null | undefined;
9535
9535
  method: string;
9536
9536
  concurrently: boolean;
9537
- }, uniques?: ("schema" | "table" | "name" | "columns" | "with" | "nameExplicit" | "isUnique" | "where" | "method" | "concurrently")[] | undefined) => {
9537
+ }, uniques?: ("with" | "schema" | "table" | "name" | "columns" | "nameExplicit" | "isUnique" | "where" | "method" | "concurrently")[] | undefined) => {
9538
9538
  status: "OK" | "CONFLICT";
9539
9539
  data: {
9540
9540
  schema: string;
@@ -9669,6 +9669,7 @@ declare const createDDL: () => {
9669
9669
  } | null;
9670
9670
  update: (config: {
9671
9671
  set: {
9672
+ with?: string | ((item: string) => string) | undefined;
9672
9673
  schema?: string | ((item: string) => string) | undefined;
9673
9674
  table?: string | ((item: string) => string) | undefined;
9674
9675
  name?: string | ((item: string) => string) | undefined;
@@ -9700,7 +9701,6 @@ declare const createDDL: () => {
9700
9701
  default: boolean;
9701
9702
  } | null;
9702
9703
  }) | undefined;
9703
- with?: string | ((item: string) => string) | undefined;
9704
9704
  nameExplicit?: boolean | ((item: boolean) => boolean) | undefined;
9705
9705
  isUnique?: boolean | ((item: boolean) => boolean) | undefined;
9706
9706
  where?: string | ((item: string | null) => string | null) | null | undefined;
@@ -9847,6 +9847,10 @@ declare const createDDL: () => {
9847
9847
  schema: string;
9848
9848
  table: string;
9849
9849
  name: string;
9850
+ with?: {
9851
+ from: string;
9852
+ to: string;
9853
+ } | undefined;
9850
9854
  columns?: {
9851
9855
  from: {
9852
9856
  value: string;
@@ -9869,10 +9873,6 @@ declare const createDDL: () => {
9869
9873
  } | null;
9870
9874
  }[];
9871
9875
  } | undefined;
9872
- with?: {
9873
- from: string;
9874
- to: string;
9875
- } | undefined;
9876
9876
  nameExplicit?: {
9877
9877
  from: boolean;
9878
9878
  to: boolean;
@@ -10471,11 +10471,11 @@ declare const createDDL: () => {
10471
10471
  };
10472
10472
  checks: {
10473
10473
  push: (input: {
10474
+ value: string;
10474
10475
  schema: string;
10475
10476
  table: string;
10476
10477
  name: string;
10477
- value: string;
10478
- }, uniques?: ("schema" | "table" | "name" | "value")[] | undefined) => {
10478
+ }, uniques?: ("value" | "schema" | "table" | "name")[] | undefined) => {
10479
10479
  status: "OK" | "CONFLICT";
10480
10480
  data: {
10481
10481
  schema: string;
@@ -10513,10 +10513,10 @@ declare const createDDL: () => {
10513
10513
  } | null;
10514
10514
  update: (config: {
10515
10515
  set: {
10516
+ value?: string | ((item: string) => string) | undefined;
10516
10517
  schema?: string | ((item: string) => string) | undefined;
10517
10518
  table?: string | ((item: string) => string) | undefined;
10518
10519
  name?: string | ((item: string) => string) | undefined;
10519
- value?: string | ((item: string) => string) | undefined;
10520
10520
  };
10521
10521
  where?: {
10522
10522
  schema?: string | undefined;
@@ -10770,6 +10770,7 @@ declare const createDDL: () => {
10770
10770
  };
10771
10771
  roles: {
10772
10772
  push: (input: {
10773
+ password: string | null | undefined;
10773
10774
  name: string;
10774
10775
  superuser: boolean | null | undefined;
10775
10776
  createDb: boolean | null | undefined;
@@ -10779,9 +10780,8 @@ declare const createDDL: () => {
10779
10780
  replication: boolean | null | undefined;
10780
10781
  bypassRls: boolean | null | undefined;
10781
10782
  connLimit: number | null | undefined;
10782
- password: string | null | undefined;
10783
10783
  validUntil: string | null | undefined;
10784
- }, uniques?: ("name" | "superuser" | "createDb" | "createRole" | "inherit" | "canLogin" | "replication" | "bypassRls" | "connLimit" | "password" | "validUntil")[] | undefined) => {
10784
+ }, uniques?: ("password" | "name" | "superuser" | "createDb" | "createRole" | "inherit" | "canLogin" | "replication" | "bypassRls" | "connLimit" | "validUntil")[] | undefined) => {
10785
10785
  status: "OK" | "CONFLICT";
10786
10786
  data: {
10787
10787
  superuser: boolean | null;
@@ -10854,6 +10854,7 @@ declare const createDDL: () => {
10854
10854
  } | null;
10855
10855
  update: (config: {
10856
10856
  set: {
10857
+ password?: string | ((item: string | null) => string | null) | null | undefined;
10857
10858
  name?: string | ((item: string) => string) | undefined;
10858
10859
  superuser?: boolean | ((item: boolean | null) => boolean | null) | null | undefined;
10859
10860
  createDb?: boolean | ((item: boolean | null) => boolean | null) | null | undefined;
@@ -10863,7 +10864,6 @@ declare const createDDL: () => {
10863
10864
  replication?: boolean | ((item: boolean | null) => boolean | null) | null | undefined;
10864
10865
  bypassRls?: boolean | ((item: boolean | null) => boolean | null) | null | undefined;
10865
10866
  connLimit?: number | ((item: number | null) => number | null) | null | undefined;
10866
- password?: string | ((item: string | null) => string | null) | null | undefined;
10867
10867
  validUntil?: string | ((item: string | null) => string | null) | null | undefined;
10868
10868
  };
10869
10869
  where?: {
@@ -10942,6 +10942,10 @@ declare const createDDL: () => {
10942
10942
  $diffType: "alter";
10943
10943
  entityType: "roles";
10944
10944
  name: string;
10945
+ password?: {
10946
+ from: string | null;
10947
+ to: string | null;
10948
+ } | undefined;
10945
10949
  superuser?: {
10946
10950
  from: boolean | null;
10947
10951
  to: boolean | null;
@@ -10974,10 +10978,6 @@ declare const createDDL: () => {
10974
10978
  from: number | null;
10975
10979
  to: number | null;
10976
10980
  } | undefined;
10977
- password?: {
10978
- from: string | null;
10979
- to: string | null;
10980
- } | undefined;
10981
10981
  validUntil?: {
10982
10982
  from: string | null;
10983
10983
  to: string | null;
@@ -11014,14 +11014,14 @@ declare const createDDL: () => {
11014
11014
  };
11015
11015
  privileges: {
11016
11016
  push: (input: {
11017
+ type: "ALL" | "SELECT" | "INSERT" | "UPDATE" | "DELETE" | "TRUNCATE" | "REFERENCES" | "TRIGGER";
11017
11018
  schema: string;
11018
11019
  table: string;
11019
11020
  name: string;
11020
- type: "ALL" | "SELECT" | "INSERT" | "UPDATE" | "DELETE" | "TRUNCATE" | "REFERENCES" | "TRIGGER";
11021
11021
  grantor: string;
11022
11022
  grantee: string;
11023
11023
  isGrantable: boolean;
11024
- }, uniques?: ("schema" | "table" | "name" | "type" | "grantor" | "grantee" | "isGrantable")[] | undefined) => {
11024
+ }, uniques?: ("type" | "schema" | "table" | "name" | "grantor" | "grantee" | "isGrantable")[] | undefined) => {
11025
11025
  status: "OK" | "CONFLICT";
11026
11026
  data: {
11027
11027
  grantor: string;
@@ -11074,10 +11074,10 @@ declare const createDDL: () => {
11074
11074
  } | null;
11075
11075
  update: (config: {
11076
11076
  set: {
11077
+ type?: "ALL" | "SELECT" | "INSERT" | "UPDATE" | "DELETE" | "TRUNCATE" | "REFERENCES" | "TRIGGER" | ((item: "ALL" | "SELECT" | "INSERT" | "UPDATE" | "DELETE" | "TRUNCATE" | "REFERENCES" | "TRIGGER") => "ALL" | "SELECT" | "INSERT" | "UPDATE" | "DELETE" | "TRUNCATE" | "REFERENCES" | "TRIGGER") | undefined;
11077
11078
  schema?: string | ((item: string) => string) | undefined;
11078
11079
  table?: string | ((item: string) => string) | undefined;
11079
11080
  name?: string | ((item: string) => string) | undefined;
11080
- type?: "ALL" | "SELECT" | "INSERT" | "UPDATE" | "DELETE" | "TRUNCATE" | "REFERENCES" | "TRIGGER" | ((item: "ALL" | "SELECT" | "INSERT" | "UPDATE" | "DELETE" | "TRUNCATE" | "REFERENCES" | "TRIGGER") => "ALL" | "SELECT" | "INSERT" | "UPDATE" | "DELETE" | "TRUNCATE" | "REFERENCES" | "TRIGGER") | undefined;
11081
11081
  grantor?: string | ((item: string) => string) | undefined;
11082
11082
  grantee?: string | ((item: string) => string) | undefined;
11083
11083
  isGrantable?: boolean | ((item: boolean) => boolean) | undefined;
@@ -11372,8 +11372,6 @@ declare const createDDL: () => {
11372
11372
  };
11373
11373
  views: {
11374
11374
  push: (input: {
11375
- schema: string;
11376
- name: string;
11377
11375
  with: {
11378
11376
  checkOption: "local" | "cascaded" | null;
11379
11377
  securityBarrier: boolean | null;
@@ -11397,12 +11395,14 @@ declare const createDDL: () => {
11397
11395
  logAutovacuumMinDuration: number | null;
11398
11396
  userCatalogTable: boolean | null;
11399
11397
  } | null | undefined;
11398
+ schema: string;
11399
+ name: string;
11400
11400
  using: string | null | undefined;
11401
11401
  definition: string | null | undefined;
11402
11402
  withNoData: boolean | null | undefined;
11403
11403
  tablespace: string | null | undefined;
11404
11404
  materialized: boolean;
11405
- }, uniques?: ("schema" | "name" | "with" | "using" | "definition" | "withNoData" | "tablespace" | "materialized")[] | undefined) => {
11405
+ }, uniques?: ("with" | "schema" | "name" | "using" | "definition" | "withNoData" | "tablespace" | "materialized")[] | undefined) => {
11406
11406
  status: "OK" | "CONFLICT";
11407
11407
  data: {
11408
11408
  schema: string;
@@ -11570,8 +11570,6 @@ declare const createDDL: () => {
11570
11570
  } | null;
11571
11571
  update: (config: {
11572
11572
  set: {
11573
- schema?: string | ((item: string) => string) | undefined;
11574
- name?: string | ((item: string) => string) | undefined;
11575
11573
  with?: {
11576
11574
  checkOption: "local" | "cascaded" | null;
11577
11575
  securityBarrier: boolean | null;
@@ -11639,6 +11637,8 @@ declare const createDDL: () => {
11639
11637
  logAutovacuumMinDuration: number | null;
11640
11638
  userCatalogTable: boolean | null;
11641
11639
  } | null) | null | undefined;
11640
+ schema?: string | ((item: string) => string) | undefined;
11641
+ name?: string | ((item: string) => string) | undefined;
11642
11642
  using?: string | ((item: string | null) => string | null) | null | undefined;
11643
11643
  definition?: string | ((item: string | null) => string | null) | null | undefined;
11644
11644
  withNoData?: boolean | ((item: boolean | null) => boolean | null) | null | undefined;