drizzle-kit 0.25.0-178591 → 0.25.0-1f15bfd
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api.d.mts +4 -85
- package/api.d.ts +4 -85
- package/api.js +16329 -89863
- package/api.mjs +16329 -89860
- package/bin.cjs +755 -1198
- package/common-DYjgLS6u.d.mts +8 -0
- package/common-DYjgLS6u.d.ts +8 -0
- package/index.d.mts +2 -5
- package/index.d.ts +2 -5
- package/package.json +2 -2
- package/utils.js +14 -24
- package/utils.mjs +13 -24
    
        package/api.d.mts
    CHANGED
    
    | @@ -1,6 +1,7 @@ | |
| 1 1 | 
             
            import { LibSQLDatabase } from 'drizzle-orm/libsql';
         | 
| 2 2 | 
             
            import { MySql2Database } from 'drizzle-orm/mysql2';
         | 
| 3 3 | 
             
            import { PgDatabase } from 'drizzle-orm/pg-core';
         | 
| 4 | 
            +
            import { C as CasingType } from './common-DYjgLS6u.mjs';
         | 
| 4 5 | 
             
            import * as zod from 'zod';
         | 
| 5 6 | 
             
            import { TypeOf } from 'zod';
         | 
| 6 7 |  | 
| @@ -119,16 +120,6 @@ declare const schema$1: zod.ZodObject<zod.objectUtil.extendShape<{ | |
| 119 120 | 
             
                        name: string;
         | 
| 120 121 | 
             
                        columns: string[];
         | 
| 121 122 | 
             
                    }>>>;
         | 
| 122 | 
            -
                    checkConstraint: zod.ZodDefault<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
         | 
| 123 | 
            -
                        name: zod.ZodString;
         | 
| 124 | 
            -
                        value: zod.ZodString;
         | 
| 125 | 
            -
                    }, "strict", zod.ZodTypeAny, {
         | 
| 126 | 
            -
                        name: string;
         | 
| 127 | 
            -
                        value: string;
         | 
| 128 | 
            -
                    }, {
         | 
| 129 | 
            -
                        name: string;
         | 
| 130 | 
            -
                        value: string;
         | 
| 131 | 
            -
                    }>>>;
         | 
| 132 123 | 
             
                }, "strict", zod.ZodTypeAny, {
         | 
| 133 124 | 
             
                    name: string;
         | 
| 134 125 | 
             
                    columns: Record<string, {
         | 
| @@ -169,10 +160,6 @@ declare const schema$1: zod.ZodObject<zod.objectUtil.extendShape<{ | |
| 169 160 | 
             
                        name: string;
         | 
| 170 161 | 
             
                        columns: string[];
         | 
| 171 162 | 
             
                    }>;
         | 
| 172 | 
            -
                    checkConstraint: Record<string, {
         | 
| 173 | 
            -
                        name: string;
         | 
| 174 | 
            -
                        value: string;
         | 
| 175 | 
            -
                    }>;
         | 
| 176 163 | 
             
                }, {
         | 
| 177 164 | 
             
                    name: string;
         | 
| 178 165 | 
             
                    columns: Record<string, {
         | 
| @@ -213,10 +200,6 @@ declare const schema$1: zod.ZodObject<zod.objectUtil.extendShape<{ | |
| 213 200 | 
             
                        name: string;
         | 
| 214 201 | 
             
                        columns: string[];
         | 
| 215 202 | 
             
                    }> | undefined;
         | 
| 216 | 
            -
                    checkConstraint?: Record<string, {
         | 
| 217 | 
            -
                        name: string;
         | 
| 218 | 
            -
                        value: string;
         | 
| 219 | 
            -
                    }> | undefined;
         | 
| 220 203 | 
             
                }>>;
         | 
| 221 204 | 
             
                _meta: zod.ZodObject<{
         | 
| 222 205 | 
             
                    tables: zod.ZodRecord<zod.ZodString, zod.ZodString>;
         | 
| @@ -330,10 +313,6 @@ declare const schema$1: zod.ZodObject<zod.objectUtil.extendShape<{ | |
| 330 313 | 
             
                        name: string;
         | 
| 331 314 | 
             
                        columns: string[];
         | 
| 332 315 | 
             
                    }>;
         | 
| 333 | 
            -
                    checkConstraint: Record<string, {
         | 
| 334 | 
            -
                        name: string;
         | 
| 335 | 
            -
                        value: string;
         | 
| 336 | 
            -
                    }>;
         | 
| 337 316 | 
             
                }>;
         | 
| 338 317 | 
             
                id: string;
         | 
| 339 318 | 
             
                prevId: string;
         | 
| @@ -396,10 +375,6 @@ declare const schema$1: zod.ZodObject<zod.objectUtil.extendShape<{ | |
| 396 375 | 
             
                        name: string;
         | 
| 397 376 | 
             
                        columns: string[];
         | 
| 398 377 | 
             
                    }> | undefined;
         | 
| 399 | 
            -
                    checkConstraint?: Record<string, {
         | 
| 400 | 
            -
                        name: string;
         | 
| 401 | 
            -
                        value: string;
         | 
| 402 | 
            -
                    }> | undefined;
         | 
| 403 378 | 
             
                }>;
         | 
| 404 379 | 
             
                id: string;
         | 
| 405 380 | 
             
                prevId: string;
         | 
| @@ -639,16 +614,6 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{ | |
| 639 614 | 
             
                        columns: string[];
         | 
| 640 615 | 
             
                        nullsNotDistinct: boolean;
         | 
| 641 616 | 
             
                    }>>>;
         | 
| 642 | 
            -
                    checkConstraints: zod.ZodDefault<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
         | 
| 643 | 
            -
                        name: zod.ZodString;
         | 
| 644 | 
            -
                        value: zod.ZodString;
         | 
| 645 | 
            -
                    }, "strict", zod.ZodTypeAny, {
         | 
| 646 | 
            -
                        name: string;
         | 
| 647 | 
            -
                        value: string;
         | 
| 648 | 
            -
                    }, {
         | 
| 649 | 
            -
                        name: string;
         | 
| 650 | 
            -
                        value: string;
         | 
| 651 | 
            -
                    }>>>;
         | 
| 652 617 | 
             
                }, "strict", zod.ZodTypeAny, {
         | 
| 653 618 | 
             
                    name: string;
         | 
| 654 619 | 
             
                    columns: Record<string, {
         | 
| @@ -712,10 +677,6 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{ | |
| 712 677 | 
             
                        columns: string[];
         | 
| 713 678 | 
             
                        nullsNotDistinct: boolean;
         | 
| 714 679 | 
             
                    }>;
         | 
| 715 | 
            -
                    checkConstraints: Record<string, {
         | 
| 716 | 
            -
                        name: string;
         | 
| 717 | 
            -
                        value: string;
         | 
| 718 | 
            -
                    }>;
         | 
| 719 680 | 
             
                }, {
         | 
| 720 681 | 
             
                    name: string;
         | 
| 721 682 | 
             
                    columns: Record<string, {
         | 
| @@ -779,10 +740,6 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{ | |
| 779 740 | 
             
                        columns: string[];
         | 
| 780 741 | 
             
                        nullsNotDistinct: boolean;
         | 
| 781 742 | 
             
                    }> | undefined;
         | 
| 782 | 
            -
                    checkConstraints?: Record<string, {
         | 
| 783 | 
            -
                        name: string;
         | 
| 784 | 
            -
                        value: string;
         | 
| 785 | 
            -
                    }> | undefined;
         | 
| 786 743 | 
             
                }>>;
         | 
| 787 744 | 
             
                enums: zod.ZodRecord<zod.ZodString, zod.ZodObject<{
         | 
| 788 745 | 
             
                    name: zod.ZodString;
         | 
| @@ -958,10 +915,6 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{ | |
| 958 915 | 
             
                        columns: string[];
         | 
| 959 916 | 
             
                        nullsNotDistinct: boolean;
         | 
| 960 917 | 
             
                    }>;
         | 
| 961 | 
            -
                    checkConstraints: Record<string, {
         | 
| 962 | 
            -
                        name: string;
         | 
| 963 | 
            -
                        value: string;
         | 
| 964 | 
            -
                    }>;
         | 
| 965 918 | 
             
                }>;
         | 
| 966 919 | 
             
                id: string;
         | 
| 967 920 | 
             
                prevId: string;
         | 
| @@ -1062,10 +1015,6 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{ | |
| 1062 1015 | 
             
                        columns: string[];
         | 
| 1063 1016 | 
             
                        nullsNotDistinct: boolean;
         | 
| 1064 1017 | 
             
                    }> | undefined;
         | 
| 1065 | 
            -
                    checkConstraints?: Record<string, {
         | 
| 1066 | 
            -
                        name: string;
         | 
| 1067 | 
            -
                        value: string;
         | 
| 1068 | 
            -
                    }> | undefined;
         | 
| 1069 1018 | 
             
                }>;
         | 
| 1070 1019 | 
             
                id: string;
         | 
| 1071 1020 | 
             
                prevId: string;
         | 
| @@ -1211,16 +1160,6 @@ declare const schema: zod.ZodObject<zod.objectUtil.extendShape<{ | |
| 1211 1160 | 
             
                        name: string;
         | 
| 1212 1161 | 
             
                        columns: string[];
         | 
| 1213 1162 | 
             
                    }>>>;
         | 
| 1214 | 
            -
                    checkConstraints: zod.ZodDefault<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
         | 
| 1215 | 
            -
                        name: zod.ZodString;
         | 
| 1216 | 
            -
                        value: zod.ZodString;
         | 
| 1217 | 
            -
                    }, "strict", zod.ZodTypeAny, {
         | 
| 1218 | 
            -
                        name: string;
         | 
| 1219 | 
            -
                        value: string;
         | 
| 1220 | 
            -
                    }, {
         | 
| 1221 | 
            -
                        name: string;
         | 
| 1222 | 
            -
                        value: string;
         | 
| 1223 | 
            -
                    }>>>;
         | 
| 1224 1163 | 
             
                }, "strict", zod.ZodTypeAny, {
         | 
| 1225 1164 | 
             
                    name: string;
         | 
| 1226 1165 | 
             
                    columns: Record<string, {
         | 
| @@ -1258,10 +1197,6 @@ declare const schema: zod.ZodObject<zod.objectUtil.extendShape<{ | |
| 1258 1197 | 
             
                        name: string;
         | 
| 1259 1198 | 
             
                        columns: string[];
         | 
| 1260 1199 | 
             
                    }>;
         | 
| 1261 | 
            -
                    checkConstraints: Record<string, {
         | 
| 1262 | 
            -
                        name: string;
         | 
| 1263 | 
            -
                        value: string;
         | 
| 1264 | 
            -
                    }>;
         | 
| 1265 1200 | 
             
                }, {
         | 
| 1266 1201 | 
             
                    name: string;
         | 
| 1267 1202 | 
             
                    columns: Record<string, {
         | 
| @@ -1299,10 +1234,6 @@ declare const schema: zod.ZodObject<zod.objectUtil.extendShape<{ | |
| 1299 1234 | 
             
                        name: string;
         | 
| 1300 1235 | 
             
                        columns: string[];
         | 
| 1301 1236 | 
             
                    }> | undefined;
         | 
| 1302 | 
            -
                    checkConstraints?: Record<string, {
         | 
| 1303 | 
            -
                        name: string;
         | 
| 1304 | 
            -
                        value: string;
         | 
| 1305 | 
            -
                    }> | undefined;
         | 
| 1306 1237 | 
             
                }>>;
         | 
| 1307 1238 | 
             
                enums: zod.ZodObject<{}, "strip", zod.ZodTypeAny, {}, {}>;
         | 
| 1308 1239 | 
             
                _meta: zod.ZodObject<{
         | 
| @@ -1387,10 +1318,6 @@ declare const schema: zod.ZodObject<zod.objectUtil.extendShape<{ | |
| 1387 1318 | 
             
                        name: string;
         | 
| 1388 1319 | 
             
                        columns: string[];
         | 
| 1389 1320 | 
             
                    }>;
         | 
| 1390 | 
            -
                    checkConstraints: Record<string, {
         | 
| 1391 | 
            -
                        name: string;
         | 
| 1392 | 
            -
                        value: string;
         | 
| 1393 | 
            -
                    }>;
         | 
| 1394 1321 | 
             
                }>;
         | 
| 1395 1322 | 
             
                id: string;
         | 
| 1396 1323 | 
             
                prevId: string;
         | 
| @@ -1446,10 +1373,6 @@ declare const schema: zod.ZodObject<zod.objectUtil.extendShape<{ | |
| 1446 1373 | 
             
                        name: string;
         | 
| 1447 1374 | 
             
                        columns: string[];
         | 
| 1448 1375 | 
             
                    }> | undefined;
         | 
| 1449 | 
            -
                    checkConstraints?: Record<string, {
         | 
| 1450 | 
            -
                        name: string;
         | 
| 1451 | 
            -
                        value: string;
         | 
| 1452 | 
            -
                    }> | undefined;
         | 
| 1453 1376 | 
             
                }>;
         | 
| 1454 1377 | 
             
                id: string;
         | 
| 1455 1378 | 
             
                prevId: string;
         | 
| @@ -1473,7 +1396,7 @@ type SQLiteSchema = TypeOf<typeof schema>; | |
| 1473 1396 | 
             
            type DrizzleSnapshotJSON = PgSchema;
         | 
| 1474 1397 | 
             
            type DrizzleSQLiteSnapshotJSON = SQLiteSchema;
         | 
| 1475 1398 | 
             
            type DrizzleMySQLSnapshotJSON = MySqlSchema;
         | 
| 1476 | 
            -
            declare const generateDrizzleJson: (imports: Record<string, unknown>, prevId?: string, schemaFilters?: string[]) => PgSchema;
         | 
| 1399 | 
            +
            declare const generateDrizzleJson: (imports: Record<string, unknown>, prevId?: string, schemaFilters?: string[], casing?: CasingType) => PgSchema;
         | 
| 1477 1400 | 
             
            declare const generateMigration: (prev: DrizzleSnapshotJSON, cur: DrizzleSnapshotJSON) => Promise<string[]>;
         | 
| 1478 1401 | 
             
            declare const pushSchema: (imports: Record<string, unknown>, drizzleInstance: PgDatabase<any>, schemaFilters?: string[]) => Promise<{
         | 
| 1479 1402 | 
             
                hasDataLoss: boolean;
         | 
| @@ -1481,7 +1404,7 @@ declare const pushSchema: (imports: Record<string, unknown>, drizzleInstance: Pg | |
| 1481 1404 | 
             
                statementsToExecute: string[];
         | 
| 1482 1405 | 
             
                apply: () => Promise<void>;
         | 
| 1483 1406 | 
             
            }>;
         | 
| 1484 | 
            -
            declare const generateSQLiteDrizzleJson: (imports: Record<string, unknown>, prevId?: string) => Promise<SQLiteSchema>;
         | 
| 1407 | 
            +
            declare const generateSQLiteDrizzleJson: (imports: Record<string, unknown>, prevId?: string, casing?: CasingType) => Promise<SQLiteSchema>;
         | 
| 1485 1408 | 
             
            declare const generateSQLiteMigration: (prev: DrizzleSQLiteSnapshotJSON, cur: DrizzleSQLiteSnapshotJSON) => Promise<string[]>;
         | 
| 1486 1409 | 
             
            declare const pushSQLiteSchema: (imports: Record<string, unknown>, drizzleInstance: LibSQLDatabase<any>) => Promise<{
         | 
| 1487 1410 | 
             
                hasDataLoss: boolean;
         | 
| @@ -1489,7 +1412,7 @@ declare const pushSQLiteSchema: (imports: Record<string, unknown>, drizzleInstan | |
| 1489 1412 | 
             
                statementsToExecute: string[];
         | 
| 1490 1413 | 
             
                apply: () => Promise<void>;
         | 
| 1491 1414 | 
             
            }>;
         | 
| 1492 | 
            -
            declare const generateMySQLDrizzleJson: (imports: Record<string, unknown>, prevId?: string) => Promise<MySqlSchema>;
         | 
| 1415 | 
            +
            declare const generateMySQLDrizzleJson: (imports: Record<string, unknown>, prevId?: string, casing?: CasingType) => Promise<MySqlSchema>;
         | 
| 1493 1416 | 
             
            declare const generateMySQLMigration: (prev: DrizzleMySQLSnapshotJSON, cur: DrizzleMySQLSnapshotJSON) => Promise<string[]>;
         | 
| 1494 1417 | 
             
            declare const pushMySQLSchema: (imports: Record<string, unknown>, drizzleInstance: MySql2Database<any>, databaseName: string) => Promise<{
         | 
| 1495 1418 | 
             
                hasDataLoss: boolean;
         | 
| @@ -1563,10 +1486,6 @@ declare const upPgSnapshot: (snapshot: Record<string, unknown>) => { | |
| 1563 1486 | 
             
                        columns: string[];
         | 
| 1564 1487 | 
             
                        nullsNotDistinct: boolean;
         | 
| 1565 1488 | 
             
                    }>;
         | 
| 1566 | 
            -
                    checkConstraints: Record<string, {
         | 
| 1567 | 
            -
                        value: string;
         | 
| 1568 | 
            -
                        name: string;
         | 
| 1569 | 
            -
                    }>;
         | 
| 1570 1489 | 
             
                }>;
         | 
| 1571 1490 | 
             
                enums: Record<string, {
         | 
| 1572 1491 | 
             
                    values: string[];
         | 
    
        package/api.d.ts
    CHANGED
    
    | @@ -1,6 +1,7 @@ | |
| 1 1 | 
             
            import { LibSQLDatabase } from 'drizzle-orm/libsql';
         | 
| 2 2 | 
             
            import { MySql2Database } from 'drizzle-orm/mysql2';
         | 
| 3 3 | 
             
            import { PgDatabase } from 'drizzle-orm/pg-core';
         | 
| 4 | 
            +
            import { C as CasingType } from './common-DYjgLS6u.js';
         | 
| 4 5 | 
             
            import * as zod from 'zod';
         | 
| 5 6 | 
             
            import { TypeOf } from 'zod';
         | 
| 6 7 |  | 
| @@ -119,16 +120,6 @@ declare const schema$1: zod.ZodObject<zod.objectUtil.extendShape<{ | |
| 119 120 | 
             
                        name: string;
         | 
| 120 121 | 
             
                        columns: string[];
         | 
| 121 122 | 
             
                    }>>>;
         | 
| 122 | 
            -
                    checkConstraint: zod.ZodDefault<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
         | 
| 123 | 
            -
                        name: zod.ZodString;
         | 
| 124 | 
            -
                        value: zod.ZodString;
         | 
| 125 | 
            -
                    }, "strict", zod.ZodTypeAny, {
         | 
| 126 | 
            -
                        name: string;
         | 
| 127 | 
            -
                        value: string;
         | 
| 128 | 
            -
                    }, {
         | 
| 129 | 
            -
                        name: string;
         | 
| 130 | 
            -
                        value: string;
         | 
| 131 | 
            -
                    }>>>;
         | 
| 132 123 | 
             
                }, "strict", zod.ZodTypeAny, {
         | 
| 133 124 | 
             
                    name: string;
         | 
| 134 125 | 
             
                    columns: Record<string, {
         | 
| @@ -169,10 +160,6 @@ declare const schema$1: zod.ZodObject<zod.objectUtil.extendShape<{ | |
| 169 160 | 
             
                        name: string;
         | 
| 170 161 | 
             
                        columns: string[];
         | 
| 171 162 | 
             
                    }>;
         | 
| 172 | 
            -
                    checkConstraint: Record<string, {
         | 
| 173 | 
            -
                        name: string;
         | 
| 174 | 
            -
                        value: string;
         | 
| 175 | 
            -
                    }>;
         | 
| 176 163 | 
             
                }, {
         | 
| 177 164 | 
             
                    name: string;
         | 
| 178 165 | 
             
                    columns: Record<string, {
         | 
| @@ -213,10 +200,6 @@ declare const schema$1: zod.ZodObject<zod.objectUtil.extendShape<{ | |
| 213 200 | 
             
                        name: string;
         | 
| 214 201 | 
             
                        columns: string[];
         | 
| 215 202 | 
             
                    }> | undefined;
         | 
| 216 | 
            -
                    checkConstraint?: Record<string, {
         | 
| 217 | 
            -
                        name: string;
         | 
| 218 | 
            -
                        value: string;
         | 
| 219 | 
            -
                    }> | undefined;
         | 
| 220 203 | 
             
                }>>;
         | 
| 221 204 | 
             
                _meta: zod.ZodObject<{
         | 
| 222 205 | 
             
                    tables: zod.ZodRecord<zod.ZodString, zod.ZodString>;
         | 
| @@ -330,10 +313,6 @@ declare const schema$1: zod.ZodObject<zod.objectUtil.extendShape<{ | |
| 330 313 | 
             
                        name: string;
         | 
| 331 314 | 
             
                        columns: string[];
         | 
| 332 315 | 
             
                    }>;
         | 
| 333 | 
            -
                    checkConstraint: Record<string, {
         | 
| 334 | 
            -
                        name: string;
         | 
| 335 | 
            -
                        value: string;
         | 
| 336 | 
            -
                    }>;
         | 
| 337 316 | 
             
                }>;
         | 
| 338 317 | 
             
                id: string;
         | 
| 339 318 | 
             
                prevId: string;
         | 
| @@ -396,10 +375,6 @@ declare const schema$1: zod.ZodObject<zod.objectUtil.extendShape<{ | |
| 396 375 | 
             
                        name: string;
         | 
| 397 376 | 
             
                        columns: string[];
         | 
| 398 377 | 
             
                    }> | undefined;
         | 
| 399 | 
            -
                    checkConstraint?: Record<string, {
         | 
| 400 | 
            -
                        name: string;
         | 
| 401 | 
            -
                        value: string;
         | 
| 402 | 
            -
                    }> | undefined;
         | 
| 403 378 | 
             
                }>;
         | 
| 404 379 | 
             
                id: string;
         | 
| 405 380 | 
             
                prevId: string;
         | 
| @@ -639,16 +614,6 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{ | |
| 639 614 | 
             
                        columns: string[];
         | 
| 640 615 | 
             
                        nullsNotDistinct: boolean;
         | 
| 641 616 | 
             
                    }>>>;
         | 
| 642 | 
            -
                    checkConstraints: zod.ZodDefault<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
         | 
| 643 | 
            -
                        name: zod.ZodString;
         | 
| 644 | 
            -
                        value: zod.ZodString;
         | 
| 645 | 
            -
                    }, "strict", zod.ZodTypeAny, {
         | 
| 646 | 
            -
                        name: string;
         | 
| 647 | 
            -
                        value: string;
         | 
| 648 | 
            -
                    }, {
         | 
| 649 | 
            -
                        name: string;
         | 
| 650 | 
            -
                        value: string;
         | 
| 651 | 
            -
                    }>>>;
         | 
| 652 617 | 
             
                }, "strict", zod.ZodTypeAny, {
         | 
| 653 618 | 
             
                    name: string;
         | 
| 654 619 | 
             
                    columns: Record<string, {
         | 
| @@ -712,10 +677,6 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{ | |
| 712 677 | 
             
                        columns: string[];
         | 
| 713 678 | 
             
                        nullsNotDistinct: boolean;
         | 
| 714 679 | 
             
                    }>;
         | 
| 715 | 
            -
                    checkConstraints: Record<string, {
         | 
| 716 | 
            -
                        name: string;
         | 
| 717 | 
            -
                        value: string;
         | 
| 718 | 
            -
                    }>;
         | 
| 719 680 | 
             
                }, {
         | 
| 720 681 | 
             
                    name: string;
         | 
| 721 682 | 
             
                    columns: Record<string, {
         | 
| @@ -779,10 +740,6 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{ | |
| 779 740 | 
             
                        columns: string[];
         | 
| 780 741 | 
             
                        nullsNotDistinct: boolean;
         | 
| 781 742 | 
             
                    }> | undefined;
         | 
| 782 | 
            -
                    checkConstraints?: Record<string, {
         | 
| 783 | 
            -
                        name: string;
         | 
| 784 | 
            -
                        value: string;
         | 
| 785 | 
            -
                    }> | undefined;
         | 
| 786 743 | 
             
                }>>;
         | 
| 787 744 | 
             
                enums: zod.ZodRecord<zod.ZodString, zod.ZodObject<{
         | 
| 788 745 | 
             
                    name: zod.ZodString;
         | 
| @@ -958,10 +915,6 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{ | |
| 958 915 | 
             
                        columns: string[];
         | 
| 959 916 | 
             
                        nullsNotDistinct: boolean;
         | 
| 960 917 | 
             
                    }>;
         | 
| 961 | 
            -
                    checkConstraints: Record<string, {
         | 
| 962 | 
            -
                        name: string;
         | 
| 963 | 
            -
                        value: string;
         | 
| 964 | 
            -
                    }>;
         | 
| 965 918 | 
             
                }>;
         | 
| 966 919 | 
             
                id: string;
         | 
| 967 920 | 
             
                prevId: string;
         | 
| @@ -1062,10 +1015,6 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{ | |
| 1062 1015 | 
             
                        columns: string[];
         | 
| 1063 1016 | 
             
                        nullsNotDistinct: boolean;
         | 
| 1064 1017 | 
             
                    }> | undefined;
         | 
| 1065 | 
            -
                    checkConstraints?: Record<string, {
         | 
| 1066 | 
            -
                        name: string;
         | 
| 1067 | 
            -
                        value: string;
         | 
| 1068 | 
            -
                    }> | undefined;
         | 
| 1069 1018 | 
             
                }>;
         | 
| 1070 1019 | 
             
                id: string;
         | 
| 1071 1020 | 
             
                prevId: string;
         | 
| @@ -1211,16 +1160,6 @@ declare const schema: zod.ZodObject<zod.objectUtil.extendShape<{ | |
| 1211 1160 | 
             
                        name: string;
         | 
| 1212 1161 | 
             
                        columns: string[];
         | 
| 1213 1162 | 
             
                    }>>>;
         | 
| 1214 | 
            -
                    checkConstraints: zod.ZodDefault<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
         | 
| 1215 | 
            -
                        name: zod.ZodString;
         | 
| 1216 | 
            -
                        value: zod.ZodString;
         | 
| 1217 | 
            -
                    }, "strict", zod.ZodTypeAny, {
         | 
| 1218 | 
            -
                        name: string;
         | 
| 1219 | 
            -
                        value: string;
         | 
| 1220 | 
            -
                    }, {
         | 
| 1221 | 
            -
                        name: string;
         | 
| 1222 | 
            -
                        value: string;
         | 
| 1223 | 
            -
                    }>>>;
         | 
| 1224 1163 | 
             
                }, "strict", zod.ZodTypeAny, {
         | 
| 1225 1164 | 
             
                    name: string;
         | 
| 1226 1165 | 
             
                    columns: Record<string, {
         | 
| @@ -1258,10 +1197,6 @@ declare const schema: zod.ZodObject<zod.objectUtil.extendShape<{ | |
| 1258 1197 | 
             
                        name: string;
         | 
| 1259 1198 | 
             
                        columns: string[];
         | 
| 1260 1199 | 
             
                    }>;
         | 
| 1261 | 
            -
                    checkConstraints: Record<string, {
         | 
| 1262 | 
            -
                        name: string;
         | 
| 1263 | 
            -
                        value: string;
         | 
| 1264 | 
            -
                    }>;
         | 
| 1265 1200 | 
             
                }, {
         | 
| 1266 1201 | 
             
                    name: string;
         | 
| 1267 1202 | 
             
                    columns: Record<string, {
         | 
| @@ -1299,10 +1234,6 @@ declare const schema: zod.ZodObject<zod.objectUtil.extendShape<{ | |
| 1299 1234 | 
             
                        name: string;
         | 
| 1300 1235 | 
             
                        columns: string[];
         | 
| 1301 1236 | 
             
                    }> | undefined;
         | 
| 1302 | 
            -
                    checkConstraints?: Record<string, {
         | 
| 1303 | 
            -
                        name: string;
         | 
| 1304 | 
            -
                        value: string;
         | 
| 1305 | 
            -
                    }> | undefined;
         | 
| 1306 1237 | 
             
                }>>;
         | 
| 1307 1238 | 
             
                enums: zod.ZodObject<{}, "strip", zod.ZodTypeAny, {}, {}>;
         | 
| 1308 1239 | 
             
                _meta: zod.ZodObject<{
         | 
| @@ -1387,10 +1318,6 @@ declare const schema: zod.ZodObject<zod.objectUtil.extendShape<{ | |
| 1387 1318 | 
             
                        name: string;
         | 
| 1388 1319 | 
             
                        columns: string[];
         | 
| 1389 1320 | 
             
                    }>;
         | 
| 1390 | 
            -
                    checkConstraints: Record<string, {
         | 
| 1391 | 
            -
                        name: string;
         | 
| 1392 | 
            -
                        value: string;
         | 
| 1393 | 
            -
                    }>;
         | 
| 1394 1321 | 
             
                }>;
         | 
| 1395 1322 | 
             
                id: string;
         | 
| 1396 1323 | 
             
                prevId: string;
         | 
| @@ -1446,10 +1373,6 @@ declare const schema: zod.ZodObject<zod.objectUtil.extendShape<{ | |
| 1446 1373 | 
             
                        name: string;
         | 
| 1447 1374 | 
             
                        columns: string[];
         | 
| 1448 1375 | 
             
                    }> | undefined;
         | 
| 1449 | 
            -
                    checkConstraints?: Record<string, {
         | 
| 1450 | 
            -
                        name: string;
         | 
| 1451 | 
            -
                        value: string;
         | 
| 1452 | 
            -
                    }> | undefined;
         | 
| 1453 1376 | 
             
                }>;
         | 
| 1454 1377 | 
             
                id: string;
         | 
| 1455 1378 | 
             
                prevId: string;
         | 
| @@ -1473,7 +1396,7 @@ type SQLiteSchema = TypeOf<typeof schema>; | |
| 1473 1396 | 
             
            type DrizzleSnapshotJSON = PgSchema;
         | 
| 1474 1397 | 
             
            type DrizzleSQLiteSnapshotJSON = SQLiteSchema;
         | 
| 1475 1398 | 
             
            type DrizzleMySQLSnapshotJSON = MySqlSchema;
         | 
| 1476 | 
            -
            declare const generateDrizzleJson: (imports: Record<string, unknown>, prevId?: string, schemaFilters?: string[]) => PgSchema;
         | 
| 1399 | 
            +
            declare const generateDrizzleJson: (imports: Record<string, unknown>, prevId?: string, schemaFilters?: string[], casing?: CasingType) => PgSchema;
         | 
| 1477 1400 | 
             
            declare const generateMigration: (prev: DrizzleSnapshotJSON, cur: DrizzleSnapshotJSON) => Promise<string[]>;
         | 
| 1478 1401 | 
             
            declare const pushSchema: (imports: Record<string, unknown>, drizzleInstance: PgDatabase<any>, schemaFilters?: string[]) => Promise<{
         | 
| 1479 1402 | 
             
                hasDataLoss: boolean;
         | 
| @@ -1481,7 +1404,7 @@ declare const pushSchema: (imports: Record<string, unknown>, drizzleInstance: Pg | |
| 1481 1404 | 
             
                statementsToExecute: string[];
         | 
| 1482 1405 | 
             
                apply: () => Promise<void>;
         | 
| 1483 1406 | 
             
            }>;
         | 
| 1484 | 
            -
            declare const generateSQLiteDrizzleJson: (imports: Record<string, unknown>, prevId?: string) => Promise<SQLiteSchema>;
         | 
| 1407 | 
            +
            declare const generateSQLiteDrizzleJson: (imports: Record<string, unknown>, prevId?: string, casing?: CasingType) => Promise<SQLiteSchema>;
         | 
| 1485 1408 | 
             
            declare const generateSQLiteMigration: (prev: DrizzleSQLiteSnapshotJSON, cur: DrizzleSQLiteSnapshotJSON) => Promise<string[]>;
         | 
| 1486 1409 | 
             
            declare const pushSQLiteSchema: (imports: Record<string, unknown>, drizzleInstance: LibSQLDatabase<any>) => Promise<{
         | 
| 1487 1410 | 
             
                hasDataLoss: boolean;
         | 
| @@ -1489,7 +1412,7 @@ declare const pushSQLiteSchema: (imports: Record<string, unknown>, drizzleInstan | |
| 1489 1412 | 
             
                statementsToExecute: string[];
         | 
| 1490 1413 | 
             
                apply: () => Promise<void>;
         | 
| 1491 1414 | 
             
            }>;
         | 
| 1492 | 
            -
            declare const generateMySQLDrizzleJson: (imports: Record<string, unknown>, prevId?: string) => Promise<MySqlSchema>;
         | 
| 1415 | 
            +
            declare const generateMySQLDrizzleJson: (imports: Record<string, unknown>, prevId?: string, casing?: CasingType) => Promise<MySqlSchema>;
         | 
| 1493 1416 | 
             
            declare const generateMySQLMigration: (prev: DrizzleMySQLSnapshotJSON, cur: DrizzleMySQLSnapshotJSON) => Promise<string[]>;
         | 
| 1494 1417 | 
             
            declare const pushMySQLSchema: (imports: Record<string, unknown>, drizzleInstance: MySql2Database<any>, databaseName: string) => Promise<{
         | 
| 1495 1418 | 
             
                hasDataLoss: boolean;
         | 
| @@ -1563,10 +1486,6 @@ declare const upPgSnapshot: (snapshot: Record<string, unknown>) => { | |
| 1563 1486 | 
             
                        columns: string[];
         | 
| 1564 1487 | 
             
                        nullsNotDistinct: boolean;
         | 
| 1565 1488 | 
             
                    }>;
         | 
| 1566 | 
            -
                    checkConstraints: Record<string, {
         | 
| 1567 | 
            -
                        value: string;
         | 
| 1568 | 
            -
                        name: string;
         | 
| 1569 | 
            -
                    }>;
         | 
| 1570 1489 | 
             
                }>;
         | 
| 1571 1490 | 
             
                enums: Record<string, {
         | 
| 1572 1491 | 
             
                    values: string[];
         |