drizzle-kit 0.19.13-3b2cf28 → 0.19.13-e7108b7

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.

Potentially problematic release.


This version of drizzle-kit might be problematic. Click here for more details.

Files changed (43) hide show
  1. package/package.json +1 -1
  2. package/utils.d.ts +1 -2
  3. package/@types/utils.d.ts +0 -12
  4. package/cli/commands/migrate.d.ts +0 -141
  5. package/cli/commands/mysqlUp.d.ts +0 -4
  6. package/cli/commands/pgIntrospect.d.ts +0 -118
  7. package/cli/commands/pgPushUtils.d.ts +0 -14
  8. package/cli/commands/pgUp.d.ts +0 -4
  9. package/cli/commands/sqliteIntrospect.d.ts +0 -102
  10. package/cli/commands/sqliteUtils.d.ts +0 -162
  11. package/cli/commands/upFolders.d.ts +0 -27
  12. package/cli/commands/utils.d.ts +0 -265
  13. package/cli/selector-ui.d.ts +0 -13
  14. package/cli/validations/common.d.ts +0 -13
  15. package/cli/validations/mysql.d.ts +0 -414
  16. package/cli/validations/outputs.d.ts +0 -39
  17. package/cli/validations/pg.d.ts +0 -438
  18. package/cli/validations/sqlite.d.ts +0 -220
  19. package/cli/validations/studio.d.ts +0 -469
  20. package/cli/views.d.ts +0 -61
  21. package/drivers/index.d.ts +0 -26
  22. package/global.d.ts +0 -2
  23. package/introspect.d.ts +0 -4
  24. package/jsonDiffer.d.ts +0 -76
  25. package/jsonStatements.d.ts +0 -349
  26. package/migrationPreparator.d.ts +0 -35
  27. package/schemaValidator.d.ts +0 -1236
  28. package/serializer/index.d.ts +0 -9
  29. package/serializer/mysqlImports.d.ts +0 -6
  30. package/serializer/mysqlSchema.d.ts +0 -3833
  31. package/serializer/mysqlSerializer.d.ts +0 -7
  32. package/serializer/pgImports.d.ts +0 -11
  33. package/serializer/pgSchema.d.ts +0 -4000
  34. package/serializer/pgSerializer.d.ts +0 -7
  35. package/serializer/sqliteImports.d.ts +0 -5
  36. package/serializer/sqliteSchema.d.ts +0 -3162
  37. package/serializer/sqliteSerializer.d.ts +0 -8
  38. package/serializer/studioUtils.d.ts +0 -31
  39. package/snapshotsDiffer.d.ts +0 -2660
  40. package/sqlgenerator.d.ts +0 -33
  41. package/sqlite-introspect.d.ts +0 -5
  42. package/utils/words.d.ts +0 -7
  43. package/utilsR.d.ts +0 -209
@@ -1,469 +0,0 @@
1
- import { TypeOf } from "zod";
2
- export declare const studioConfidConnections: import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodObject<{
3
- driver: import("zod").ZodLiteral<"mysql2">;
4
- dbCredentials: import("zod").ZodObject<{
5
- host: import("zod").ZodString;
6
- port: import("zod").ZodOptional<import("zod").ZodNumber>;
7
- user: import("zod").ZodDefault<import("zod").ZodString>;
8
- password: import("zod").ZodOptional<import("zod").ZodString>;
9
- database: import("zod").ZodString;
10
- type: import("zod").ZodDefault<import("zod").ZodLiteral<"params">>;
11
- }, "strip", import("zod").ZodTypeAny, {
12
- port?: number | undefined;
13
- password?: string | undefined;
14
- type: "params";
15
- host: string;
16
- user: string;
17
- database: string;
18
- }, {
19
- type?: "params" | undefined;
20
- port?: number | undefined;
21
- user?: string | undefined;
22
- password?: string | undefined;
23
- host: string;
24
- database: string;
25
- }>;
26
- }, "strip", import("zod").ZodTypeAny, {
27
- driver: "mysql2";
28
- dbCredentials: {
29
- port?: number | undefined;
30
- password?: string | undefined;
31
- type: "params";
32
- host: string;
33
- user: string;
34
- database: string;
35
- };
36
- }, {
37
- driver: "mysql2";
38
- dbCredentials: {
39
- type?: "params" | undefined;
40
- port?: number | undefined;
41
- user?: string | undefined;
42
- password?: string | undefined;
43
- host: string;
44
- database: string;
45
- };
46
- }>, import("zod").ZodObject<{
47
- driver: import("zod").ZodLiteral<"mysql2">;
48
- dbCredentials: import("zod").ZodObject<{
49
- connectionString: import("zod").ZodString;
50
- type: import("zod").ZodDefault<import("zod").ZodLiteral<"url">>;
51
- }, "strip", import("zod").ZodTypeAny, {
52
- type: "url";
53
- connectionString: string;
54
- }, {
55
- type?: "url" | undefined;
56
- connectionString: string;
57
- }>;
58
- }, "strip", import("zod").ZodTypeAny, {
59
- driver: "mysql2";
60
- dbCredentials: {
61
- type: "url";
62
- connectionString: string;
63
- };
64
- }, {
65
- driver: "mysql2";
66
- dbCredentials: {
67
- type?: "url" | undefined;
68
- connectionString: string;
69
- };
70
- }>]>, import("zod").ZodUnion<[import("zod").ZodObject<{
71
- driver: import("zod").ZodLiteral<"pg">;
72
- dbCredentials: import("zod").ZodObject<{
73
- host: import("zod").ZodString;
74
- port: import("zod").ZodOptional<import("zod").ZodNumber>;
75
- user: import("zod").ZodDefault<import("zod").ZodString>;
76
- password: import("zod").ZodOptional<import("zod").ZodString>;
77
- database: import("zod").ZodString;
78
- ssl: import("zod").ZodOptional<import("zod").ZodBoolean>;
79
- type: import("zod").ZodDefault<import("zod").ZodLiteral<"params">>;
80
- }, "strip", import("zod").ZodTypeAny, {
81
- port?: number | undefined;
82
- password?: string | undefined;
83
- ssl?: boolean | undefined;
84
- type: "params";
85
- host: string;
86
- user: string;
87
- database: string;
88
- }, {
89
- type?: "params" | undefined;
90
- port?: number | undefined;
91
- user?: string | undefined;
92
- password?: string | undefined;
93
- ssl?: boolean | undefined;
94
- host: string;
95
- database: string;
96
- }>;
97
- }, "strip", import("zod").ZodTypeAny, {
98
- driver: "pg";
99
- dbCredentials: {
100
- port?: number | undefined;
101
- password?: string | undefined;
102
- ssl?: boolean | undefined;
103
- type: "params";
104
- host: string;
105
- user: string;
106
- database: string;
107
- };
108
- }, {
109
- driver: "pg";
110
- dbCredentials: {
111
- type?: "params" | undefined;
112
- port?: number | undefined;
113
- user?: string | undefined;
114
- password?: string | undefined;
115
- ssl?: boolean | undefined;
116
- host: string;
117
- database: string;
118
- };
119
- }>, import("zod").ZodObject<{
120
- driver: import("zod").ZodLiteral<"pg">;
121
- dbCredentials: import("zod").ZodObject<{
122
- connectionString: import("zod").ZodString;
123
- type: import("zod").ZodDefault<import("zod").ZodLiteral<"url">>;
124
- }, "strip", import("zod").ZodTypeAny, {
125
- type: "url";
126
- connectionString: string;
127
- }, {
128
- type?: "url" | undefined;
129
- connectionString: string;
130
- }>;
131
- }, "strip", import("zod").ZodTypeAny, {
132
- driver: "pg";
133
- dbCredentials: {
134
- type: "url";
135
- connectionString: string;
136
- };
137
- }, {
138
- driver: "pg";
139
- dbCredentials: {
140
- type?: "url" | undefined;
141
- connectionString: string;
142
- };
143
- }>]>, import("zod").ZodUnion<[import("zod").ZodObject<{
144
- driver: import("zod").ZodLiteral<"turso">;
145
- dbCredentials: import("zod").ZodObject<{
146
- url: import("zod").ZodString;
147
- authToken: import("zod").ZodOptional<import("zod").ZodString>;
148
- }, "strip", import("zod").ZodTypeAny, {
149
- authToken?: string | undefined;
150
- url: string;
151
- }, {
152
- authToken?: string | undefined;
153
- url: string;
154
- }>;
155
- }, "strip", import("zod").ZodTypeAny, {
156
- driver: "turso";
157
- dbCredentials: {
158
- authToken?: string | undefined;
159
- url: string;
160
- };
161
- }, {
162
- driver: "turso";
163
- dbCredentials: {
164
- authToken?: string | undefined;
165
- url: string;
166
- };
167
- }>, import("zod").ZodObject<{
168
- driver: import("zod").ZodLiteral<"libsql">;
169
- dbCredentials: import("zod").ZodObject<{
170
- url: import("zod").ZodString;
171
- }, "strip", import("zod").ZodTypeAny, {
172
- url: string;
173
- }, {
174
- url: string;
175
- }>;
176
- }, "strip", import("zod").ZodTypeAny, {
177
- driver: "libsql";
178
- dbCredentials: {
179
- url: string;
180
- };
181
- }, {
182
- driver: "libsql";
183
- dbCredentials: {
184
- url: string;
185
- };
186
- }>, import("zod").ZodObject<{
187
- driver: import("zod").ZodLiteral<"better-sqlite">;
188
- dbCredentials: import("zod").ZodObject<{
189
- url: import("zod").ZodString;
190
- }, "strip", import("zod").ZodTypeAny, {
191
- url: string;
192
- }, {
193
- url: string;
194
- }>;
195
- }, "strip", import("zod").ZodTypeAny, {
196
- driver: "better-sqlite";
197
- dbCredentials: {
198
- url: string;
199
- };
200
- }, {
201
- driver: "better-sqlite";
202
- dbCredentials: {
203
- url: string;
204
- };
205
- }>]>]>;
206
- export declare const studioConfigSchema: import("zod").ZodIntersection<import("zod").ZodObject<{
207
- schema: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>;
208
- }, "strip", import("zod").ZodTypeAny, {
209
- schema: string | string[];
210
- }, {
211
- schema: string | string[];
212
- }>, import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodObject<{
213
- driver: import("zod").ZodLiteral<"mysql2">;
214
- dbCredentials: import("zod").ZodObject<{
215
- host: import("zod").ZodString;
216
- port: import("zod").ZodOptional<import("zod").ZodNumber>;
217
- user: import("zod").ZodDefault<import("zod").ZodString>;
218
- password: import("zod").ZodOptional<import("zod").ZodString>;
219
- database: import("zod").ZodString;
220
- type: import("zod").ZodDefault<import("zod").ZodLiteral<"params">>;
221
- }, "strip", import("zod").ZodTypeAny, {
222
- port?: number | undefined;
223
- password?: string | undefined;
224
- type: "params";
225
- host: string;
226
- user: string;
227
- database: string;
228
- }, {
229
- type?: "params" | undefined;
230
- port?: number | undefined;
231
- user?: string | undefined;
232
- password?: string | undefined;
233
- host: string;
234
- database: string;
235
- }>;
236
- }, "strip", import("zod").ZodTypeAny, {
237
- driver: "mysql2";
238
- dbCredentials: {
239
- port?: number | undefined;
240
- password?: string | undefined;
241
- type: "params";
242
- host: string;
243
- user: string;
244
- database: string;
245
- };
246
- }, {
247
- driver: "mysql2";
248
- dbCredentials: {
249
- type?: "params" | undefined;
250
- port?: number | undefined;
251
- user?: string | undefined;
252
- password?: string | undefined;
253
- host: string;
254
- database: string;
255
- };
256
- }>, import("zod").ZodObject<{
257
- driver: import("zod").ZodLiteral<"mysql2">;
258
- dbCredentials: import("zod").ZodObject<{
259
- connectionString: import("zod").ZodString;
260
- type: import("zod").ZodDefault<import("zod").ZodLiteral<"url">>;
261
- }, "strip", import("zod").ZodTypeAny, {
262
- type: "url";
263
- connectionString: string;
264
- }, {
265
- type?: "url" | undefined;
266
- connectionString: string;
267
- }>;
268
- }, "strip", import("zod").ZodTypeAny, {
269
- driver: "mysql2";
270
- dbCredentials: {
271
- type: "url";
272
- connectionString: string;
273
- };
274
- }, {
275
- driver: "mysql2";
276
- dbCredentials: {
277
- type?: "url" | undefined;
278
- connectionString: string;
279
- };
280
- }>]>, import("zod").ZodUnion<[import("zod").ZodObject<{
281
- driver: import("zod").ZodLiteral<"pg">;
282
- dbCredentials: import("zod").ZodObject<{
283
- host: import("zod").ZodString;
284
- port: import("zod").ZodOptional<import("zod").ZodNumber>;
285
- user: import("zod").ZodDefault<import("zod").ZodString>;
286
- password: import("zod").ZodOptional<import("zod").ZodString>;
287
- database: import("zod").ZodString;
288
- ssl: import("zod").ZodOptional<import("zod").ZodBoolean>;
289
- type: import("zod").ZodDefault<import("zod").ZodLiteral<"params">>;
290
- }, "strip", import("zod").ZodTypeAny, {
291
- port?: number | undefined;
292
- password?: string | undefined;
293
- ssl?: boolean | undefined;
294
- type: "params";
295
- host: string;
296
- user: string;
297
- database: string;
298
- }, {
299
- type?: "params" | undefined;
300
- port?: number | undefined;
301
- user?: string | undefined;
302
- password?: string | undefined;
303
- ssl?: boolean | undefined;
304
- host: string;
305
- database: string;
306
- }>;
307
- }, "strip", import("zod").ZodTypeAny, {
308
- driver: "pg";
309
- dbCredentials: {
310
- port?: number | undefined;
311
- password?: string | undefined;
312
- ssl?: boolean | undefined;
313
- type: "params";
314
- host: string;
315
- user: string;
316
- database: string;
317
- };
318
- }, {
319
- driver: "pg";
320
- dbCredentials: {
321
- type?: "params" | undefined;
322
- port?: number | undefined;
323
- user?: string | undefined;
324
- password?: string | undefined;
325
- ssl?: boolean | undefined;
326
- host: string;
327
- database: string;
328
- };
329
- }>, import("zod").ZodObject<{
330
- driver: import("zod").ZodLiteral<"pg">;
331
- dbCredentials: import("zod").ZodObject<{
332
- connectionString: import("zod").ZodString;
333
- type: import("zod").ZodDefault<import("zod").ZodLiteral<"url">>;
334
- }, "strip", import("zod").ZodTypeAny, {
335
- type: "url";
336
- connectionString: string;
337
- }, {
338
- type?: "url" | undefined;
339
- connectionString: string;
340
- }>;
341
- }, "strip", import("zod").ZodTypeAny, {
342
- driver: "pg";
343
- dbCredentials: {
344
- type: "url";
345
- connectionString: string;
346
- };
347
- }, {
348
- driver: "pg";
349
- dbCredentials: {
350
- type?: "url" | undefined;
351
- connectionString: string;
352
- };
353
- }>]>, import("zod").ZodUnion<[import("zod").ZodObject<{
354
- driver: import("zod").ZodLiteral<"turso">;
355
- dbCredentials: import("zod").ZodObject<{
356
- url: import("zod").ZodString;
357
- authToken: import("zod").ZodOptional<import("zod").ZodString>;
358
- }, "strip", import("zod").ZodTypeAny, {
359
- authToken?: string | undefined;
360
- url: string;
361
- }, {
362
- authToken?: string | undefined;
363
- url: string;
364
- }>;
365
- }, "strip", import("zod").ZodTypeAny, {
366
- driver: "turso";
367
- dbCredentials: {
368
- authToken?: string | undefined;
369
- url: string;
370
- };
371
- }, {
372
- driver: "turso";
373
- dbCredentials: {
374
- authToken?: string | undefined;
375
- url: string;
376
- };
377
- }>, import("zod").ZodObject<{
378
- driver: import("zod").ZodLiteral<"libsql">;
379
- dbCredentials: import("zod").ZodObject<{
380
- url: import("zod").ZodString;
381
- }, "strip", import("zod").ZodTypeAny, {
382
- url: string;
383
- }, {
384
- url: string;
385
- }>;
386
- }, "strip", import("zod").ZodTypeAny, {
387
- driver: "libsql";
388
- dbCredentials: {
389
- url: string;
390
- };
391
- }, {
392
- driver: "libsql";
393
- dbCredentials: {
394
- url: string;
395
- };
396
- }>, import("zod").ZodObject<{
397
- driver: import("zod").ZodLiteral<"better-sqlite">;
398
- dbCredentials: import("zod").ZodObject<{
399
- url: import("zod").ZodString;
400
- }, "strip", import("zod").ZodTypeAny, {
401
- url: string;
402
- }, {
403
- url: string;
404
- }>;
405
- }, "strip", import("zod").ZodTypeAny, {
406
- driver: "better-sqlite";
407
- dbCredentials: {
408
- url: string;
409
- };
410
- }, {
411
- driver: "better-sqlite";
412
- dbCredentials: {
413
- url: string;
414
- };
415
- }>]>]>>;
416
- export type StudioConfig = TypeOf<typeof studioConfigSchema>;
417
- export type StudioConfigConnections = TypeOf<typeof studioConfidConnections>;
418
- export declare const validateStudio: (options: any) => Promise<{
419
- schema: string | string[];
420
- } & ({
421
- driver: "pg";
422
- dbCredentials: {
423
- port?: number | undefined;
424
- password?: string | undefined;
425
- ssl?: boolean | undefined;
426
- type: "params";
427
- host: string;
428
- user: string;
429
- database: string;
430
- };
431
- } | {
432
- driver: "pg";
433
- dbCredentials: {
434
- type: "url";
435
- connectionString: string;
436
- };
437
- } | {
438
- driver: "turso";
439
- dbCredentials: {
440
- authToken?: string | undefined;
441
- url: string;
442
- };
443
- } | {
444
- driver: "libsql";
445
- dbCredentials: {
446
- url: string;
447
- };
448
- } | {
449
- driver: "better-sqlite";
450
- dbCredentials: {
451
- url: string;
452
- };
453
- } | {
454
- driver: "mysql2";
455
- dbCredentials: {
456
- port?: number | undefined;
457
- password?: string | undefined;
458
- type: "params";
459
- host: string;
460
- user: string;
461
- database: string;
462
- };
463
- } | {
464
- driver: "mysql2";
465
- dbCredentials: {
466
- type: "url";
467
- connectionString: string;
468
- };
469
- })>;
package/cli/views.d.ts DELETED
@@ -1,61 +0,0 @@
1
- import { Prompt, TaskView } from "hanji";
2
- import { CommonSchema } from "src/schemaValidator";
3
- import { Named } from "./commands/migrate";
4
- export declare const warning: (msg: string) => void;
5
- export declare const err: (msg: string) => void;
6
- export declare const info: (msg: string, greyMsg?: string) => string;
7
- export declare const error: (error: string, greyMsg?: string) => string;
8
- export declare const schema: (schema: CommonSchema) => string;
9
- export interface RenamePropmtItem<T> {
10
- from: T;
11
- to: T;
12
- }
13
- export declare const isRenamePromptItem: <T extends Named>(item: T | RenamePropmtItem<T>) => item is RenamePropmtItem<T>;
14
- export declare class ResolveColumnSelect<T extends Named> extends Prompt<RenamePropmtItem<T> | T> {
15
- private readonly tableName;
16
- private readonly base;
17
- private readonly data;
18
- constructor(tableName: string, base: Named, data: (RenamePropmtItem<T> | T)[]);
19
- render(status: "idle" | "submitted" | "aborted"): string;
20
- result(): RenamePropmtItem<T> | T;
21
- }
22
- export declare class ResolveTableSelect<T extends Named> extends Prompt<RenamePropmtItem<T> | T> {
23
- private readonly base;
24
- private readonly state;
25
- constructor(base: Named, data: (RenamePropmtItem<T> | T)[]);
26
- render(status: "idle" | "submitted" | "aborted"): string;
27
- result(): RenamePropmtItem<T> | T;
28
- }
29
- export declare class ResolveSchemasSelect<T extends Named> extends Prompt<RenamePropmtItem<T> | T> {
30
- private readonly base;
31
- private readonly state;
32
- constructor(base: Named, data: (RenamePropmtItem<T> | T)[]);
33
- render(status: "idle" | "submitted" | "aborted"): string;
34
- result(): RenamePropmtItem<T> | T;
35
- }
36
- export type IntrospectStatus = "fetching" | "done";
37
- export type IntrospectStage = "tables" | "columns" | "enums" | "indexes" | "fks";
38
- export declare class IntrospectProgress extends TaskView {
39
- private readonly spinner;
40
- private timeout;
41
- private state;
42
- constructor();
43
- update(stage: IntrospectStage, count: number, status: IntrospectStatus): void;
44
- private formatCount;
45
- private statusText;
46
- render(): string;
47
- }
48
- export declare class DropMigrationView<T extends {
49
- tag: string;
50
- }> extends Prompt<T> {
51
- private readonly data;
52
- constructor(data: T[]);
53
- render(status: "idle" | "submitted" | "aborted"): string;
54
- result(): T;
55
- }
56
- export declare const trimmedRange: <T>(arr: T[], index: number, limitLines: number) => {
57
- trimmed: T[];
58
- offset: number;
59
- startTrimmed: boolean;
60
- endTrimmed: boolean;
61
- };
@@ -1,26 +0,0 @@
1
- import { Client } from "@libsql/client";
2
- import { Database } from "better-sqlite3";
3
- import { PgDatabase } from "drizzle-orm/pg-core";
4
- import { Client as PgClient } from "pg";
5
- export declare abstract class DrizzleDbClient<T = any> {
6
- protected db: T;
7
- constructor(db: T);
8
- abstract query<K = any>(query: string, values?: any[]): Promise<K[]>;
9
- abstract run(query: string): Promise<void>;
10
- }
11
- export declare class DrizzleORMPgClient extends DrizzleDbClient<PgDatabase<any>> {
12
- query<K = any>(query: string, values?: any[] | undefined): Promise<K[]>;
13
- run(query: string): Promise<void>;
14
- }
15
- export declare class BetterSqlite extends DrizzleDbClient<Database> {
16
- run(query: string): Promise<void>;
17
- query(query: string): Promise<any[]>;
18
- }
19
- export declare class TursoSqlite extends DrizzleDbClient<Client> {
20
- run(query: string): Promise<void>;
21
- query(query: string): Promise<any[]>;
22
- }
23
- export declare class PgPostgres extends DrizzleDbClient<PgClient> {
24
- query<K = any>(query: string, values?: any[]): Promise<K[]>;
25
- run(query: string): Promise<void>;
26
- }
package/global.d.ts DELETED
@@ -1,2 +0,0 @@
1
- export declare const originUUID = "00000000-0000-0000-0000-000000000000";
2
- export declare const snapshotVersion = "5";
package/introspect.d.ts DELETED
@@ -1,4 +0,0 @@
1
- import "./@types/utils";
2
- import { ConfigIntrospectCasing } from "./cli/commands/utils";
3
- import { PgSchema } from "./serializer/pgSchema";
4
- export declare const schemaToTypeScript: (schema: PgSchema, casing: ConfigIntrospectCasing) => string;
package/jsonDiffer.d.ts DELETED
@@ -1,76 +0,0 @@
1
- export function diffForRenamedTables(pairs: any): any;
2
- export function diffForRenamedColumn(t1: any, t2: any): any;
3
- export function applyJsonDiff(json1: any, json2: any): {
4
- addedTables?: undefined;
5
- deletedTables?: undefined;
6
- alteredTablesWithColumns?: undefined;
7
- addedEnums?: undefined;
8
- deletedEnums?: undefined;
9
- alteredEnums?: undefined;
10
- addedSchemas?: undefined;
11
- deletedSchemas?: undefined;
12
- } | {
13
- addedTables: any[];
14
- deletedTables: any[];
15
- alteredTablesWithColumns: {
16
- name: any;
17
- schema: {
18
- type: string;
19
- value: any;
20
- };
21
- deleted: any[];
22
- added: any[];
23
- altered: any[];
24
- addedIndexes: {
25
- [k: string]: any;
26
- };
27
- deletedIndexes: {
28
- [k: string]: any;
29
- };
30
- alteredIndexes: {
31
- [k: string]: any;
32
- };
33
- addedForeignKeys: {
34
- [k: string]: any;
35
- };
36
- deletedForeignKeys: {
37
- [k: string]: any;
38
- };
39
- alteredForeignKeys: {
40
- [k: string]: any;
41
- };
42
- addedCompositePKs: {
43
- [k: string]: any;
44
- };
45
- deletedCompositePKs: {
46
- [k: string]: any;
47
- };
48
- alteredCompositePKs: {
49
- [k: string]: any;
50
- };
51
- addedUniqueConstraints: {
52
- [k: string]: any;
53
- };
54
- deletedUniqueConstraints: {
55
- [k: string]: any;
56
- };
57
- alteredUniqueConstraints: {
58
- [k: string]: any;
59
- };
60
- }[];
61
- addedEnums: {
62
- name: any;
63
- values: any[];
64
- }[];
65
- deletedEnums: {
66
- name: any;
67
- values: any[];
68
- }[];
69
- alteredEnums: {
70
- name: string;
71
- addedValues: any[];
72
- deletedValues: any[];
73
- }[];
74
- addedSchemas: any[];
75
- deletedSchemas: any[];
76
- };