drizzle-kit 0.23.1 → 0.23.2-22df170
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/{readme.md → README.md} +1 -1
 - package/{payload.d.mts → api.d.mts} +537 -521
 - package/{payload.d.ts → api.d.ts} +537 -521
 - package/{payload.js → api.js} +24936 -25165
 - package/{payload.mjs → api.mjs} +24934 -25164
 - package/bin.cjs +49531 -95615
 - package/index.d.mts +14 -20
 - package/index.d.ts +14 -20
 - package/package.json +138 -115
 - package/utils.js +25 -18
 - package/utils.mjs +24 -26
 
    
        package/index.d.mts
    CHANGED
    
    | 
         @@ -23,7 +23,6 @@ type Verify<T, U extends T> = U; 
     | 
|
| 
       23 
23 
     | 
    
         
             
             * **You are currently using version 0.21.0+ of drizzle-kit. If you have just upgraded to this version, please make sure to read the changelog to understand what changes have been made and what
         
     | 
| 
       24 
24 
     | 
    
         
             
             * adjustments may be necessary for you. See https://orm.drizzle.team/kit-docs/upgrade-21#how-to-migrate-to-0210**
         
     | 
| 
       25 
25 
     | 
    
         
             
             *
         
     | 
| 
       26 
     | 
    
         
            -
             *
         
     | 
| 
       27 
26 
     | 
    
         
             
             * **Config** usage:
         
     | 
| 
       28 
27 
     | 
    
         
             
             *
         
     | 
| 
       29 
28 
     | 
    
         
             
             * `dialect` - mandatory and is responsible for explicitly providing a databse dialect you are using for all the commands
         
     | 
| 
         @@ -108,16 +107,14 @@ type Verify<T, U extends T> = U; 
     | 
|
| 
       108 
107 
     | 
    
         
             
             * `strict` - command is used for drizzle-kit push commands and will always ask for your confirmation,
         
     | 
| 
       109 
108 
     | 
    
         
             
             * either to execute all statements needed to sync your schema with the database or not.
         
     | 
| 
       110 
109 
     | 
    
         
             
             *
         
     | 
| 
       111 
     | 
    
         
            -
             *
         
     | 
| 
       112 
110 
     | 
    
         
             
             * See https://orm.drizzle.team/kit-docs/config-reference#strict
         
     | 
| 
       113 
     | 
    
         
            -
             *
         
     | 
| 
       114 
111 
     | 
    
         
             
             */
         
     | 
| 
       115 
112 
     | 
    
         
             
            type Config = {
         
     | 
| 
       116 
113 
     | 
    
         
             
                dialect: Dialect;
         
     | 
| 
       117 
114 
     | 
    
         
             
                out?: string;
         
     | 
| 
       118 
115 
     | 
    
         
             
                breakpoints?: boolean;
         
     | 
| 
       119 
116 
     | 
    
         
             
                tablesFilter?: string | string[];
         
     | 
| 
       120 
     | 
    
         
            -
                extensionsFilters?:  
     | 
| 
      
 117 
     | 
    
         
            +
                extensionsFilters?: 'postgis'[];
         
     | 
| 
       121 
118 
     | 
    
         
             
                schemaFilter?: string | string[];
         
     | 
| 
       122 
119 
     | 
    
         
             
                schema?: string | string[];
         
     | 
| 
       123 
120 
     | 
    
         
             
                verbose?: boolean;
         
     | 
| 
         @@ -128,42 +125,42 @@ type Config = { 
     | 
|
| 
       128 
125 
     | 
    
         
             
                    prefix?: Prefix;
         
     | 
| 
       129 
126 
     | 
    
         
             
                };
         
     | 
| 
       130 
127 
     | 
    
         
             
                introspect?: {
         
     | 
| 
       131 
     | 
    
         
            -
                    casing:  
     | 
| 
      
 128 
     | 
    
         
            +
                    casing: 'camel' | 'preserve';
         
     | 
| 
       132 
129 
     | 
    
         
             
                };
         
     | 
| 
       133 
130 
     | 
    
         
             
            } & ({
         
     | 
| 
       134 
     | 
    
         
            -
                dialect: Verify<Dialect,  
     | 
| 
       135 
     | 
    
         
            -
                driver: Verify<Driver,  
     | 
| 
      
 131 
     | 
    
         
            +
                dialect: Verify<Dialect, 'sqlite'>;
         
     | 
| 
      
 132 
     | 
    
         
            +
                driver: Verify<Driver, 'turso'>;
         
     | 
| 
       136 
133 
     | 
    
         
             
                dbCredentials: {
         
     | 
| 
       137 
134 
     | 
    
         
             
                    url: string;
         
     | 
| 
       138 
135 
     | 
    
         
             
                    authToken?: string;
         
     | 
| 
       139 
136 
     | 
    
         
             
                };
         
     | 
| 
       140 
137 
     | 
    
         
             
            } | {
         
     | 
| 
       141 
     | 
    
         
            -
                dialect:  
     | 
| 
      
 138 
     | 
    
         
            +
                dialect: 'sqlite';
         
     | 
| 
       142 
139 
     | 
    
         
             
                dbCredentials: {
         
     | 
| 
       143 
140 
     | 
    
         
             
                    url: string;
         
     | 
| 
       144 
141 
     | 
    
         
             
                };
         
     | 
| 
       145 
142 
     | 
    
         
             
            } | {
         
     | 
| 
       146 
     | 
    
         
            -
                dialect: Verify<Dialect,  
     | 
| 
      
 143 
     | 
    
         
            +
                dialect: Verify<Dialect, 'postgresql'>;
         
     | 
| 
       147 
144 
     | 
    
         
             
                dbCredentials: ({
         
     | 
| 
       148 
145 
     | 
    
         
             
                    host: string;
         
     | 
| 
       149 
146 
     | 
    
         
             
                    port?: number;
         
     | 
| 
       150 
147 
     | 
    
         
             
                    user?: string;
         
     | 
| 
       151 
148 
     | 
    
         
             
                    password?: string;
         
     | 
| 
       152 
149 
     | 
    
         
             
                    database: string;
         
     | 
| 
       153 
     | 
    
         
            -
                    ssl?: boolean |  
     | 
| 
      
 150 
     | 
    
         
            +
                    ssl?: boolean | 'require' | 'allow' | 'prefer' | 'verify-full' | ConnectionOptions;
         
     | 
| 
       154 
151 
     | 
    
         
             
                } & {}) | {
         
     | 
| 
       155 
152 
     | 
    
         
             
                    url: string;
         
     | 
| 
       156 
153 
     | 
    
         
             
                };
         
     | 
| 
       157 
154 
     | 
    
         
             
            } | {
         
     | 
| 
       158 
     | 
    
         
            -
                dialect: Verify<Dialect,  
     | 
| 
       159 
     | 
    
         
            -
                driver: Verify<Driver,  
     | 
| 
      
 155 
     | 
    
         
            +
                dialect: Verify<Dialect, 'postgresql'>;
         
     | 
| 
      
 156 
     | 
    
         
            +
                driver: Verify<Driver, 'aws-data-api'>;
         
     | 
| 
       160 
157 
     | 
    
         
             
                dbCredentials: {
         
     | 
| 
       161 
158 
     | 
    
         
             
                    database: string;
         
     | 
| 
       162 
159 
     | 
    
         
             
                    secretArn: string;
         
     | 
| 
       163 
160 
     | 
    
         
             
                    resourceArn: string;
         
     | 
| 
       164 
161 
     | 
    
         
             
                };
         
     | 
| 
       165 
162 
     | 
    
         
             
            } | {
         
     | 
| 
       166 
     | 
    
         
            -
                dialect: Verify<Dialect,  
     | 
| 
      
 163 
     | 
    
         
            +
                dialect: Verify<Dialect, 'mysql'>;
         
     | 
| 
       167 
164 
     | 
    
         
             
                dbCredentials: {
         
     | 
| 
       168 
165 
     | 
    
         
             
                    host: string;
         
     | 
| 
       169 
166 
     | 
    
         
             
                    port?: number;
         
     | 
| 
         @@ -175,22 +172,21 @@ type Config = { 
     | 
|
| 
       175 
172 
     | 
    
         
             
                    url: string;
         
     | 
| 
       176 
173 
     | 
    
         
             
                };
         
     | 
| 
       177 
174 
     | 
    
         
             
            } | {
         
     | 
| 
       178 
     | 
    
         
            -
                dialect: Verify<Dialect,  
     | 
| 
       179 
     | 
    
         
            -
                driver: Verify<Driver,  
     | 
| 
      
 175 
     | 
    
         
            +
                dialect: Verify<Dialect, 'sqlite'>;
         
     | 
| 
      
 176 
     | 
    
         
            +
                driver: Verify<Driver, 'd1-http'>;
         
     | 
| 
       180 
177 
     | 
    
         
             
                dbCredentials: {
         
     | 
| 
       181 
178 
     | 
    
         
             
                    accountId: string;
         
     | 
| 
       182 
179 
     | 
    
         
             
                    databaseId: string;
         
     | 
| 
       183 
180 
     | 
    
         
             
                    token: string;
         
     | 
| 
       184 
181 
     | 
    
         
             
                };
         
     | 
| 
       185 
182 
     | 
    
         
             
            } | {
         
     | 
| 
       186 
     | 
    
         
            -
                dialect: Verify<Dialect,  
     | 
| 
       187 
     | 
    
         
            -
                driver: Verify<Driver,  
     | 
| 
      
 183 
     | 
    
         
            +
                dialect: Verify<Dialect, 'sqlite'>;
         
     | 
| 
      
 184 
     | 
    
         
            +
                driver: Verify<Driver, 'expo'>;
         
     | 
| 
       188 
185 
     | 
    
         
             
            } | {});
         
     | 
| 
       189 
186 
     | 
    
         
             
            /**
         
     | 
| 
       190 
187 
     | 
    
         
             
             * **You are currently using version 0.21.0+ of drizzle-kit. If you have just upgraded to this version, please make sure to read the changelog to understand what changes have been made and what
         
     | 
| 
       191 
188 
     | 
    
         
             
             * adjustments may be necessary for you. See https://orm.drizzle.team/kit-docs/upgrade-21#how-to-migrate-to-0210**
         
     | 
| 
       192 
189 
     | 
    
         
             
             *
         
     | 
| 
       193 
     | 
    
         
            -
             *
         
     | 
| 
       194 
190 
     | 
    
         
             
             * **Config** usage:
         
     | 
| 
       195 
191 
     | 
    
         
             
             *
         
     | 
| 
       196 
192 
     | 
    
         
             
             * `dialect` - mandatory and is responsible for explicitly providing a databse dialect you are using for all the commands
         
     | 
| 
         @@ -275,9 +271,7 @@ type Config = { 
     | 
|
| 
       275 
271 
     | 
    
         
             
             * `strict` - command is used for drizzle-kit push commands and will always ask for your confirmation,
         
     | 
| 
       276 
272 
     | 
    
         
             
             * either to execute all statements needed to sync your schema with the database or not.
         
     | 
| 
       277 
273 
     | 
    
         
             
             *
         
     | 
| 
       278 
     | 
    
         
            -
             *
         
     | 
| 
       279 
274 
     | 
    
         
             
             * See https://orm.drizzle.team/kit-docs/config-reference#strict
         
     | 
| 
       280 
     | 
    
         
            -
             *
         
     | 
| 
       281 
275 
     | 
    
         
             
             */
         
     | 
| 
       282 
276 
     | 
    
         
             
            declare function defineConfig(config: Config): Config;
         
     | 
| 
       283 
277 
     | 
    
         | 
    
        package/index.d.ts
    CHANGED
    
    | 
         @@ -23,7 +23,6 @@ type Verify<T, U extends T> = U; 
     | 
|
| 
       23 
23 
     | 
    
         
             
             * **You are currently using version 0.21.0+ of drizzle-kit. If you have just upgraded to this version, please make sure to read the changelog to understand what changes have been made and what
         
     | 
| 
       24 
24 
     | 
    
         
             
             * adjustments may be necessary for you. See https://orm.drizzle.team/kit-docs/upgrade-21#how-to-migrate-to-0210**
         
     | 
| 
       25 
25 
     | 
    
         
             
             *
         
     | 
| 
       26 
     | 
    
         
            -
             *
         
     | 
| 
       27 
26 
     | 
    
         
             
             * **Config** usage:
         
     | 
| 
       28 
27 
     | 
    
         
             
             *
         
     | 
| 
       29 
28 
     | 
    
         
             
             * `dialect` - mandatory and is responsible for explicitly providing a databse dialect you are using for all the commands
         
     | 
| 
         @@ -108,16 +107,14 @@ type Verify<T, U extends T> = U; 
     | 
|
| 
       108 
107 
     | 
    
         
             
             * `strict` - command is used for drizzle-kit push commands and will always ask for your confirmation,
         
     | 
| 
       109 
108 
     | 
    
         
             
             * either to execute all statements needed to sync your schema with the database or not.
         
     | 
| 
       110 
109 
     | 
    
         
             
             *
         
     | 
| 
       111 
     | 
    
         
            -
             *
         
     | 
| 
       112 
110 
     | 
    
         
             
             * See https://orm.drizzle.team/kit-docs/config-reference#strict
         
     | 
| 
       113 
     | 
    
         
            -
             *
         
     | 
| 
       114 
111 
     | 
    
         
             
             */
         
     | 
| 
       115 
112 
     | 
    
         
             
            type Config = {
         
     | 
| 
       116 
113 
     | 
    
         
             
                dialect: Dialect;
         
     | 
| 
       117 
114 
     | 
    
         
             
                out?: string;
         
     | 
| 
       118 
115 
     | 
    
         
             
                breakpoints?: boolean;
         
     | 
| 
       119 
116 
     | 
    
         
             
                tablesFilter?: string | string[];
         
     | 
| 
       120 
     | 
    
         
            -
                extensionsFilters?:  
     | 
| 
      
 117 
     | 
    
         
            +
                extensionsFilters?: 'postgis'[];
         
     | 
| 
       121 
118 
     | 
    
         
             
                schemaFilter?: string | string[];
         
     | 
| 
       122 
119 
     | 
    
         
             
                schema?: string | string[];
         
     | 
| 
       123 
120 
     | 
    
         
             
                verbose?: boolean;
         
     | 
| 
         @@ -128,42 +125,42 @@ type Config = { 
     | 
|
| 
       128 
125 
     | 
    
         
             
                    prefix?: Prefix;
         
     | 
| 
       129 
126 
     | 
    
         
             
                };
         
     | 
| 
       130 
127 
     | 
    
         
             
                introspect?: {
         
     | 
| 
       131 
     | 
    
         
            -
                    casing:  
     | 
| 
      
 128 
     | 
    
         
            +
                    casing: 'camel' | 'preserve';
         
     | 
| 
       132 
129 
     | 
    
         
             
                };
         
     | 
| 
       133 
130 
     | 
    
         
             
            } & ({
         
     | 
| 
       134 
     | 
    
         
            -
                dialect: Verify<Dialect,  
     | 
| 
       135 
     | 
    
         
            -
                driver: Verify<Driver,  
     | 
| 
      
 131 
     | 
    
         
            +
                dialect: Verify<Dialect, 'sqlite'>;
         
     | 
| 
      
 132 
     | 
    
         
            +
                driver: Verify<Driver, 'turso'>;
         
     | 
| 
       136 
133 
     | 
    
         
             
                dbCredentials: {
         
     | 
| 
       137 
134 
     | 
    
         
             
                    url: string;
         
     | 
| 
       138 
135 
     | 
    
         
             
                    authToken?: string;
         
     | 
| 
       139 
136 
     | 
    
         
             
                };
         
     | 
| 
       140 
137 
     | 
    
         
             
            } | {
         
     | 
| 
       141 
     | 
    
         
            -
                dialect:  
     | 
| 
      
 138 
     | 
    
         
            +
                dialect: 'sqlite';
         
     | 
| 
       142 
139 
     | 
    
         
             
                dbCredentials: {
         
     | 
| 
       143 
140 
     | 
    
         
             
                    url: string;
         
     | 
| 
       144 
141 
     | 
    
         
             
                };
         
     | 
| 
       145 
142 
     | 
    
         
             
            } | {
         
     | 
| 
       146 
     | 
    
         
            -
                dialect: Verify<Dialect,  
     | 
| 
      
 143 
     | 
    
         
            +
                dialect: Verify<Dialect, 'postgresql'>;
         
     | 
| 
       147 
144 
     | 
    
         
             
                dbCredentials: ({
         
     | 
| 
       148 
145 
     | 
    
         
             
                    host: string;
         
     | 
| 
       149 
146 
     | 
    
         
             
                    port?: number;
         
     | 
| 
       150 
147 
     | 
    
         
             
                    user?: string;
         
     | 
| 
       151 
148 
     | 
    
         
             
                    password?: string;
         
     | 
| 
       152 
149 
     | 
    
         
             
                    database: string;
         
     | 
| 
       153 
     | 
    
         
            -
                    ssl?: boolean |  
     | 
| 
      
 150 
     | 
    
         
            +
                    ssl?: boolean | 'require' | 'allow' | 'prefer' | 'verify-full' | ConnectionOptions;
         
     | 
| 
       154 
151 
     | 
    
         
             
                } & {}) | {
         
     | 
| 
       155 
152 
     | 
    
         
             
                    url: string;
         
     | 
| 
       156 
153 
     | 
    
         
             
                };
         
     | 
| 
       157 
154 
     | 
    
         
             
            } | {
         
     | 
| 
       158 
     | 
    
         
            -
                dialect: Verify<Dialect,  
     | 
| 
       159 
     | 
    
         
            -
                driver: Verify<Driver,  
     | 
| 
      
 155 
     | 
    
         
            +
                dialect: Verify<Dialect, 'postgresql'>;
         
     | 
| 
      
 156 
     | 
    
         
            +
                driver: Verify<Driver, 'aws-data-api'>;
         
     | 
| 
       160 
157 
     | 
    
         
             
                dbCredentials: {
         
     | 
| 
       161 
158 
     | 
    
         
             
                    database: string;
         
     | 
| 
       162 
159 
     | 
    
         
             
                    secretArn: string;
         
     | 
| 
       163 
160 
     | 
    
         
             
                    resourceArn: string;
         
     | 
| 
       164 
161 
     | 
    
         
             
                };
         
     | 
| 
       165 
162 
     | 
    
         
             
            } | {
         
     | 
| 
       166 
     | 
    
         
            -
                dialect: Verify<Dialect,  
     | 
| 
      
 163 
     | 
    
         
            +
                dialect: Verify<Dialect, 'mysql'>;
         
     | 
| 
       167 
164 
     | 
    
         
             
                dbCredentials: {
         
     | 
| 
       168 
165 
     | 
    
         
             
                    host: string;
         
     | 
| 
       169 
166 
     | 
    
         
             
                    port?: number;
         
     | 
| 
         @@ -175,22 +172,21 @@ type Config = { 
     | 
|
| 
       175 
172 
     | 
    
         
             
                    url: string;
         
     | 
| 
       176 
173 
     | 
    
         
             
                };
         
     | 
| 
       177 
174 
     | 
    
         
             
            } | {
         
     | 
| 
       178 
     | 
    
         
            -
                dialect: Verify<Dialect,  
     | 
| 
       179 
     | 
    
         
            -
                driver: Verify<Driver,  
     | 
| 
      
 175 
     | 
    
         
            +
                dialect: Verify<Dialect, 'sqlite'>;
         
     | 
| 
      
 176 
     | 
    
         
            +
                driver: Verify<Driver, 'd1-http'>;
         
     | 
| 
       180 
177 
     | 
    
         
             
                dbCredentials: {
         
     | 
| 
       181 
178 
     | 
    
         
             
                    accountId: string;
         
     | 
| 
       182 
179 
     | 
    
         
             
                    databaseId: string;
         
     | 
| 
       183 
180 
     | 
    
         
             
                    token: string;
         
     | 
| 
       184 
181 
     | 
    
         
             
                };
         
     | 
| 
       185 
182 
     | 
    
         
             
            } | {
         
     | 
| 
       186 
     | 
    
         
            -
                dialect: Verify<Dialect,  
     | 
| 
       187 
     | 
    
         
            -
                driver: Verify<Driver,  
     | 
| 
      
 183 
     | 
    
         
            +
                dialect: Verify<Dialect, 'sqlite'>;
         
     | 
| 
      
 184 
     | 
    
         
            +
                driver: Verify<Driver, 'expo'>;
         
     | 
| 
       188 
185 
     | 
    
         
             
            } | {});
         
     | 
| 
       189 
186 
     | 
    
         
             
            /**
         
     | 
| 
       190 
187 
     | 
    
         
             
             * **You are currently using version 0.21.0+ of drizzle-kit. If you have just upgraded to this version, please make sure to read the changelog to understand what changes have been made and what
         
     | 
| 
       191 
188 
     | 
    
         
             
             * adjustments may be necessary for you. See https://orm.drizzle.team/kit-docs/upgrade-21#how-to-migrate-to-0210**
         
     | 
| 
       192 
189 
     | 
    
         
             
             *
         
     | 
| 
       193 
     | 
    
         
            -
             *
         
     | 
| 
       194 
190 
     | 
    
         
             
             * **Config** usage:
         
     | 
| 
       195 
191 
     | 
    
         
             
             *
         
     | 
| 
       196 
192 
     | 
    
         
             
             * `dialect` - mandatory and is responsible for explicitly providing a databse dialect you are using for all the commands
         
     | 
| 
         @@ -275,9 +271,7 @@ type Config = { 
     | 
|
| 
       275 
271 
     | 
    
         
             
             * `strict` - command is used for drizzle-kit push commands and will always ask for your confirmation,
         
     | 
| 
       276 
272 
     | 
    
         
             
             * either to execute all statements needed to sync your schema with the database or not.
         
     | 
| 
       277 
273 
     | 
    
         
             
             *
         
     | 
| 
       278 
     | 
    
         
            -
             *
         
     | 
| 
       279 
274 
     | 
    
         
             
             * See https://orm.drizzle.team/kit-docs/config-reference#strict
         
     | 
| 
       280 
     | 
    
         
            -
             *
         
     | 
| 
       281 
275 
     | 
    
         
             
             */
         
     | 
| 
       282 
276 
     | 
    
         
             
            declare function defineConfig(config: Config): Config;
         
     | 
| 
       283 
277 
     | 
    
         | 
    
        package/package.json
    CHANGED
    
    | 
         @@ -1,117 +1,140 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            {
         
     | 
| 
       2 
     | 
    
         
            -
             
     | 
| 
       3 
     | 
    
         
            -
             
     | 
| 
       4 
     | 
    
         
            -
             
     | 
| 
       5 
     | 
    
         
            -
             
     | 
| 
       6 
     | 
    
         
            -
             
     | 
| 
       7 
     | 
    
         
            -
             
     | 
| 
       8 
     | 
    
         
            -
             
     | 
| 
       9 
     | 
    
         
            -
             
     | 
| 
       10 
     | 
    
         
            -
             
     | 
| 
       11 
     | 
    
         
            -
             
     | 
| 
       12 
     | 
    
         
            -
             
     | 
| 
       13 
     | 
    
         
            -
             
     | 
| 
       14 
     | 
    
         
            -
             
     | 
| 
       15 
     | 
    
         
            -
             
     | 
| 
       16 
     | 
    
         
            -
             
     | 
| 
       17 
     | 
    
         
            -
             
     | 
| 
       18 
     | 
    
         
            -
             
     | 
| 
       19 
     | 
    
         
            -
             
     | 
| 
       20 
     | 
    
         
            -
             
     | 
| 
       21 
     | 
    
         
            -
             
     | 
| 
       22 
     | 
    
         
            -
             
     | 
| 
       23 
     | 
    
         
            -
             
     | 
| 
       24 
     | 
    
         
            -
             
     | 
| 
       25 
     | 
    
         
            -
             
     | 
| 
       26 
     | 
    
         
            -
             
     | 
| 
       27 
     | 
    
         
            -
             
     | 
| 
       28 
     | 
    
         
            -
             
     | 
| 
       29 
     | 
    
         
            -
             
     | 
| 
       30 
     | 
    
         
            -
             
     | 
| 
       31 
     | 
    
         
            -
             
     | 
| 
       32 
     | 
    
         
            -
             
     | 
| 
       33 
     | 
    
         
            -
             
     | 
| 
       34 
     | 
    
         
            -
             
     | 
| 
       35 
     | 
    
         
            -
             
     | 
| 
       36 
     | 
    
         
            -
             
     | 
| 
       37 
     | 
    
         
            -
             
     | 
| 
       38 
     | 
    
         
            -
             
     | 
| 
       39 
     | 
    
         
            -
             
     | 
| 
       40 
     | 
    
         
            -
             
     | 
| 
       41 
     | 
    
         
            -
             
     | 
| 
       42 
     | 
    
         
            -
             
     | 
| 
       43 
     | 
    
         
            -
             
     | 
| 
       44 
     | 
    
         
            -
             
     | 
| 
       45 
     | 
    
         
            -
             
     | 
| 
       46 
     | 
    
         
            -
             
     | 
| 
       47 
     | 
    
         
            -
             
     | 
| 
       48 
     | 
    
         
            -
             
     | 
| 
       49 
     | 
    
         
            -
             
     | 
| 
       50 
     | 
    
         
            -
             
     | 
| 
       51 
     | 
    
         
            -
             
     | 
| 
       52 
     | 
    
         
            -
             
     | 
| 
       53 
     | 
    
         
            -
             
     | 
| 
       54 
     | 
    
         
            -
             
     | 
| 
       55 
     | 
    
         
            -
             
     | 
| 
       56 
     | 
    
         
            -
             
     | 
| 
       57 
     | 
    
         
            -
             
     | 
| 
       58 
     | 
    
         
            -
             
     | 
| 
       59 
     | 
    
         
            -
             
     | 
| 
       60 
     | 
    
         
            -
             
     | 
| 
       61 
     | 
    
         
            -
             
     | 
| 
       62 
     | 
    
         
            -
             
     | 
| 
       63 
     | 
    
         
            -
             
     | 
| 
       64 
     | 
    
         
            -
             
     | 
| 
       65 
     | 
    
         
            -
             
     | 
| 
       66 
     | 
    
         
            -
             
     | 
| 
       67 
     | 
    
         
            -
             
     | 
| 
       68 
     | 
    
         
            -
             
     | 
| 
       69 
     | 
    
         
            -
             
     | 
| 
       70 
     | 
    
         
            -
             
     | 
| 
       71 
     | 
    
         
            -
             
     | 
| 
       72 
     | 
    
         
            -
             
     | 
| 
       73 
     | 
    
         
            -
             
     | 
| 
       74 
     | 
    
         
            -
             
     | 
| 
       75 
     | 
    
         
            -
             
     | 
| 
       76 
     | 
    
         
            -
             
     | 
| 
       77 
     | 
    
         
            -
             
     | 
| 
       78 
     | 
    
         
            -
             
     | 
| 
       79 
     | 
    
         
            -
             
     | 
| 
       80 
     | 
    
         
            -
             
     | 
| 
       81 
     | 
    
         
            -
             
     | 
| 
       82 
     | 
    
         
            -
             
     | 
| 
       83 
     | 
    
         
            -
             
     | 
| 
       84 
     | 
    
         
            -
             
     | 
| 
       85 
     | 
    
         
            -
             
     | 
| 
       86 
     | 
    
         
            -
             
     | 
| 
       87 
     | 
    
         
            -
             
     | 
| 
       88 
     | 
    
         
            -
             
     | 
| 
       89 
     | 
    
         
            -
             
     | 
| 
       90 
     | 
    
         
            -
             
     | 
| 
       91 
     | 
    
         
            -
             
     | 
| 
       92 
     | 
    
         
            -
             
     | 
| 
       93 
     | 
    
         
            -
             
     | 
| 
       94 
     | 
    
         
            -
             
     | 
| 
       95 
     | 
    
         
            -
             
     | 
| 
       96 
     | 
    
         
            -
             
     | 
| 
       97 
     | 
    
         
            -
             
     | 
| 
       98 
     | 
    
         
            -
             
     | 
| 
       99 
     | 
    
         
            -
             
     | 
| 
       100 
     | 
    
         
            -
             
     | 
| 
       101 
     | 
    
         
            -
             
     | 
| 
       102 
     | 
    
         
            -
             
     | 
| 
       103 
     | 
    
         
            -
             
     | 
| 
       104 
     | 
    
         
            -
             
     | 
| 
       105 
     | 
    
         
            -
             
     | 
| 
       106 
     | 
    
         
            -
             
     | 
| 
       107 
     | 
    
         
            -
             
     | 
| 
       108 
     | 
    
         
            -
             
     | 
| 
       109 
     | 
    
         
            -
             
     | 
| 
       110 
     | 
    
         
            -
             
     | 
| 
       111 
     | 
    
         
            -
             
     | 
| 
       112 
     | 
    
         
            -
             
     | 
| 
       113 
     | 
    
         
            -
             
     | 
| 
       114 
     | 
    
         
            -
             
     | 
| 
       115 
     | 
    
         
            -
             
     | 
| 
       116 
     | 
    
         
            -
             
     | 
| 
      
 2 
     | 
    
         
            +
            	"name": "drizzle-kit",
         
     | 
| 
      
 3 
     | 
    
         
            +
            	"version": "0.23.2-22df170",
         
     | 
| 
      
 4 
     | 
    
         
            +
            	"homepage": "https://orm.drizzle.team",
         
     | 
| 
      
 5 
     | 
    
         
            +
            	"keywords": [
         
     | 
| 
      
 6 
     | 
    
         
            +
            		"drizzle",
         
     | 
| 
      
 7 
     | 
    
         
            +
            		"orm",
         
     | 
| 
      
 8 
     | 
    
         
            +
            		"pg",
         
     | 
| 
      
 9 
     | 
    
         
            +
            		"mysql",
         
     | 
| 
      
 10 
     | 
    
         
            +
            		"postgresql",
         
     | 
| 
      
 11 
     | 
    
         
            +
            		"postgres",
         
     | 
| 
      
 12 
     | 
    
         
            +
            		"sqlite",
         
     | 
| 
      
 13 
     | 
    
         
            +
            		"database",
         
     | 
| 
      
 14 
     | 
    
         
            +
            		"sql",
         
     | 
| 
      
 15 
     | 
    
         
            +
            		"typescript",
         
     | 
| 
      
 16 
     | 
    
         
            +
            		"ts",
         
     | 
| 
      
 17 
     | 
    
         
            +
            		"drizzle-kit",
         
     | 
| 
      
 18 
     | 
    
         
            +
            		"migrations",
         
     | 
| 
      
 19 
     | 
    
         
            +
            		"schema"
         
     | 
| 
      
 20 
     | 
    
         
            +
            	],
         
     | 
| 
      
 21 
     | 
    
         
            +
            	"publishConfig": {
         
     | 
| 
      
 22 
     | 
    
         
            +
            		"provenance": true
         
     | 
| 
      
 23 
     | 
    
         
            +
            	},
         
     | 
| 
      
 24 
     | 
    
         
            +
            	"repository": {
         
     | 
| 
      
 25 
     | 
    
         
            +
            		"type": "git",
         
     | 
| 
      
 26 
     | 
    
         
            +
            		"url": "git+https://github.com/drizzle-team/drizzle-orm.git"
         
     | 
| 
      
 27 
     | 
    
         
            +
            	},
         
     | 
| 
      
 28 
     | 
    
         
            +
            	"author": "Drizzle Team",
         
     | 
| 
      
 29 
     | 
    
         
            +
            	"license": "MIT",
         
     | 
| 
      
 30 
     | 
    
         
            +
            	"bin": {
         
     | 
| 
      
 31 
     | 
    
         
            +
            		"drizzle-kit": "./bin.cjs"
         
     | 
| 
      
 32 
     | 
    
         
            +
            	},
         
     | 
| 
      
 33 
     | 
    
         
            +
            	"scripts": {
         
     | 
| 
      
 34 
     | 
    
         
            +
            		"api": "tsx ./dev/api.ts",
         
     | 
| 
      
 35 
     | 
    
         
            +
            		"migrate:old": "drizzle-kit generate:mysql",
         
     | 
| 
      
 36 
     | 
    
         
            +
            		"cli": "tsx ./src/cli/index.ts",
         
     | 
| 
      
 37 
     | 
    
         
            +
            		"test": "TEST_CONFIG_PATH_PREFIX=./tests/cli/ vitest",
         
     | 
| 
      
 38 
     | 
    
         
            +
            		"build": "rm -rf ./dist && tsx build.ts && cp package.json dist/ && attw --pack dist",
         
     | 
| 
      
 39 
     | 
    
         
            +
            		"build:dev": "rm -rf ./dist && tsx build.dev.ts && tsc -p tsconfig.cli-types.json && chmod +x ./dist/index.cjs",
         
     | 
| 
      
 40 
     | 
    
         
            +
            		"pack": "cp package.json README.md dist/ && (cd dist && npm pack --pack-destination ..) && rm -f package.tgz && mv *.tgz package.tgz",
         
     | 
| 
      
 41 
     | 
    
         
            +
            		"tsc": "tsc -p tsconfig.build.json",
         
     | 
| 
      
 42 
     | 
    
         
            +
            		"publish": "npm publish package.tgz"
         
     | 
| 
      
 43 
     | 
    
         
            +
            	},
         
     | 
| 
      
 44 
     | 
    
         
            +
            	"dependencies": {
         
     | 
| 
      
 45 
     | 
    
         
            +
            		"@drizzle-team/brocli": "^0.8.2",
         
     | 
| 
      
 46 
     | 
    
         
            +
            		"@esbuild-kit/esm-loader": "^2.5.5",
         
     | 
| 
      
 47 
     | 
    
         
            +
            		"esbuild": "^0.19.7",
         
     | 
| 
      
 48 
     | 
    
         
            +
            		"esbuild-register": "^3.5.0"
         
     | 
| 
      
 49 
     | 
    
         
            +
            	},
         
     | 
| 
      
 50 
     | 
    
         
            +
            	"devDependencies": {
         
     | 
| 
      
 51 
     | 
    
         
            +
            		"@arethetypeswrong/cli": "^0.15.3",
         
     | 
| 
      
 52 
     | 
    
         
            +
            		"@aws-sdk/client-rds-data": "^3.556.0",
         
     | 
| 
      
 53 
     | 
    
         
            +
            		"@cloudflare/workers-types": "^4.20230518.0",
         
     | 
| 
      
 54 
     | 
    
         
            +
            		"@electric-sql/pglite": "^0.1.5",
         
     | 
| 
      
 55 
     | 
    
         
            +
            		"@hono/node-server": "^1.9.0",
         
     | 
| 
      
 56 
     | 
    
         
            +
            		"@hono/zod-validator": "^0.2.1",
         
     | 
| 
      
 57 
     | 
    
         
            +
            		"@libsql/client": "^0.4.2",
         
     | 
| 
      
 58 
     | 
    
         
            +
            		"@neondatabase/serverless": "^0.9.1",
         
     | 
| 
      
 59 
     | 
    
         
            +
            		"@originjs/vite-plugin-commonjs": "^1.0.3",
         
     | 
| 
      
 60 
     | 
    
         
            +
            		"@planetscale/database": "^1.16.0",
         
     | 
| 
      
 61 
     | 
    
         
            +
            		"@types/better-sqlite3": "^7.6.4",
         
     | 
| 
      
 62 
     | 
    
         
            +
            		"@types/dockerode": "^3.3.28",
         
     | 
| 
      
 63 
     | 
    
         
            +
            		"@types/glob": "^8.1.0",
         
     | 
| 
      
 64 
     | 
    
         
            +
            		"@types/json-diff": "^1.0.3",
         
     | 
| 
      
 65 
     | 
    
         
            +
            		"@types/minimatch": "^5.1.2",
         
     | 
| 
      
 66 
     | 
    
         
            +
            		"@types/node": "^18.11.15",
         
     | 
| 
      
 67 
     | 
    
         
            +
            		"@types/pg": "^8.10.7",
         
     | 
| 
      
 68 
     | 
    
         
            +
            		"@types/pluralize": "^0.0.33",
         
     | 
| 
      
 69 
     | 
    
         
            +
            		"@types/semver": "^7.5.5",
         
     | 
| 
      
 70 
     | 
    
         
            +
            		"@types/uuid": "^9.0.8",
         
     | 
| 
      
 71 
     | 
    
         
            +
            		"@types/ws": "^8.5.10",
         
     | 
| 
      
 72 
     | 
    
         
            +
            		"@typescript-eslint/eslint-plugin": "^7.2.0",
         
     | 
| 
      
 73 
     | 
    
         
            +
            		"@typescript-eslint/parser": "^7.2.0",
         
     | 
| 
      
 74 
     | 
    
         
            +
            		"@vercel/postgres": "^0.8.0",
         
     | 
| 
      
 75 
     | 
    
         
            +
            		"ava": "^5.1.0",
         
     | 
| 
      
 76 
     | 
    
         
            +
            		"better-sqlite3": "^9.4.3",
         
     | 
| 
      
 77 
     | 
    
         
            +
            		"camelcase": "^7.0.1",
         
     | 
| 
      
 78 
     | 
    
         
            +
            		"chalk": "^5.2.0",
         
     | 
| 
      
 79 
     | 
    
         
            +
            		"commander": "^12.1.0",
         
     | 
| 
      
 80 
     | 
    
         
            +
            		"dockerode": "^3.3.4",
         
     | 
| 
      
 81 
     | 
    
         
            +
            		"dotenv": "^16.0.3",
         
     | 
| 
      
 82 
     | 
    
         
            +
            		"drizzle-kit": "0.21.2",
         
     | 
| 
      
 83 
     | 
    
         
            +
            		"drizzle-orm": "workspace:./drizzle-orm/dist",
         
     | 
| 
      
 84 
     | 
    
         
            +
            		"env-paths": "^3.0.0",
         
     | 
| 
      
 85 
     | 
    
         
            +
            		"esbuild-node-externals": "^1.9.0",
         
     | 
| 
      
 86 
     | 
    
         
            +
            		"eslint": "^8.57.0",
         
     | 
| 
      
 87 
     | 
    
         
            +
            		"eslint-config-prettier": "^9.1.0",
         
     | 
| 
      
 88 
     | 
    
         
            +
            		"eslint-plugin-prettier": "^5.1.3",
         
     | 
| 
      
 89 
     | 
    
         
            +
            		"get-port": "^6.1.2",
         
     | 
| 
      
 90 
     | 
    
         
            +
            		"glob": "^8.1.0",
         
     | 
| 
      
 91 
     | 
    
         
            +
            		"hanji": "^0.0.5",
         
     | 
| 
      
 92 
     | 
    
         
            +
            		"hono": "^4.1.5",
         
     | 
| 
      
 93 
     | 
    
         
            +
            		"json-diff": "1.0.6",
         
     | 
| 
      
 94 
     | 
    
         
            +
            		"minimatch": "^7.4.3",
         
     | 
| 
      
 95 
     | 
    
         
            +
            		"mysql2": "2.3.3",
         
     | 
| 
      
 96 
     | 
    
         
            +
            		"node-fetch": "^3.3.2",
         
     | 
| 
      
 97 
     | 
    
         
            +
            		"pg": "^8.11.5",
         
     | 
| 
      
 98 
     | 
    
         
            +
            		"pluralize": "^8.0.0",
         
     | 
| 
      
 99 
     | 
    
         
            +
            		"postgres": "^3.4.4",
         
     | 
| 
      
 100 
     | 
    
         
            +
            		"prettier": "^2.8.1",
         
     | 
| 
      
 101 
     | 
    
         
            +
            		"semver": "^7.5.4",
         
     | 
| 
      
 102 
     | 
    
         
            +
            		"superjson": "^2.2.1",
         
     | 
| 
      
 103 
     | 
    
         
            +
            		"tsup": "^8.0.2",
         
     | 
| 
      
 104 
     | 
    
         
            +
            		"tsx": "^3.12.1",
         
     | 
| 
      
 105 
     | 
    
         
            +
            		"typescript": "^5.4.3",
         
     | 
| 
      
 106 
     | 
    
         
            +
            		"uuid": "^9.0.1",
         
     | 
| 
      
 107 
     | 
    
         
            +
            		"vite-tsconfig-paths": "^4.3.2",
         
     | 
| 
      
 108 
     | 
    
         
            +
            		"vitest": "^1.4.0",
         
     | 
| 
      
 109 
     | 
    
         
            +
            		"wrangler": "^3.22.1",
         
     | 
| 
      
 110 
     | 
    
         
            +
            		"ws": "^8.16.0",
         
     | 
| 
      
 111 
     | 
    
         
            +
            		"zod": "^3.20.2",
         
     | 
| 
      
 112 
     | 
    
         
            +
            		"zx": "^7.2.2"
         
     | 
| 
      
 113 
     | 
    
         
            +
            	},
         
     | 
| 
      
 114 
     | 
    
         
            +
            	"exports": {
         
     | 
| 
      
 115 
     | 
    
         
            +
            		".": {
         
     | 
| 
      
 116 
     | 
    
         
            +
            			"import": {
         
     | 
| 
      
 117 
     | 
    
         
            +
            				"types": "./index.d.mts",
         
     | 
| 
      
 118 
     | 
    
         
            +
            				"default": "./index.mjs"
         
     | 
| 
      
 119 
     | 
    
         
            +
            			},
         
     | 
| 
      
 120 
     | 
    
         
            +
            			"require": {
         
     | 
| 
      
 121 
     | 
    
         
            +
            				"types": "./index.d.ts",
         
     | 
| 
      
 122 
     | 
    
         
            +
            				"default": "./index.js"
         
     | 
| 
      
 123 
     | 
    
         
            +
            			},
         
     | 
| 
      
 124 
     | 
    
         
            +
            			"types": "./index.d.mts",
         
     | 
| 
      
 125 
     | 
    
         
            +
            			"default": "./index.mjs"
         
     | 
| 
      
 126 
     | 
    
         
            +
            		},
         
     | 
| 
      
 127 
     | 
    
         
            +
            		"./api": {
         
     | 
| 
      
 128 
     | 
    
         
            +
            			"import": {
         
     | 
| 
      
 129 
     | 
    
         
            +
            				"types": "./api.d.mts",
         
     | 
| 
      
 130 
     | 
    
         
            +
            				"default": "./api.mjs"
         
     | 
| 
      
 131 
     | 
    
         
            +
            			},
         
     | 
| 
      
 132 
     | 
    
         
            +
            			"require": {
         
     | 
| 
      
 133 
     | 
    
         
            +
            				"types": "./api.d.ts",
         
     | 
| 
      
 134 
     | 
    
         
            +
            				"default": "./api.js"
         
     | 
| 
      
 135 
     | 
    
         
            +
            			},
         
     | 
| 
      
 136 
     | 
    
         
            +
            			"types": "./api.d.mts",
         
     | 
| 
      
 137 
     | 
    
         
            +
            			"default": "./api.mjs"
         
     | 
| 
      
 138 
     | 
    
         
            +
            		}
         
     | 
| 
      
 139 
     | 
    
         
            +
            	}
         
     | 
| 
       117 
140 
     | 
    
         
             
            }
         
     | 
    
        package/utils.js
    CHANGED
    
    | 
         @@ -31,9 +31,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge 
     | 
|
| 
       31 
31 
     | 
    
         
             
            ));
         
     | 
| 
       32 
32 
     | 
    
         
             
            var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
         
     | 
| 
       33 
33 
     | 
    
         | 
| 
       34 
     | 
    
         
            -
            // node_modules/.pnpm/hanji@0.0.5/node_modules/hanji/readline.js
         
     | 
| 
      
 34 
     | 
    
         
            +
            // ../node_modules/.pnpm/hanji@0.0.5/node_modules/hanji/readline.js
         
     | 
| 
       35 
35 
     | 
    
         
             
            var require_readline = __commonJS({
         
     | 
| 
       36 
     | 
    
         
            -
              "node_modules/.pnpm/hanji@0.0.5/node_modules/hanji/readline.js"(exports2) {
         
     | 
| 
      
 36 
     | 
    
         
            +
              "../node_modules/.pnpm/hanji@0.0.5/node_modules/hanji/readline.js"(exports2) {
         
     | 
| 
       37 
37 
     | 
    
         
             
                "use strict";
         
     | 
| 
       38 
38 
     | 
    
         
             
                Object.defineProperty(exports2, "__esModule", { value: true });
         
     | 
| 
       39 
39 
     | 
    
         
             
                exports2.prepareReadLine = void 0;
         
     | 
| 
         @@ -56,9 +56,9 @@ var require_readline = __commonJS({ 
     | 
|
| 
       56 
56 
     | 
    
         
             
              }
         
     | 
| 
       57 
57 
     | 
    
         
             
            });
         
     | 
| 
       58 
58 
     | 
    
         | 
| 
       59 
     | 
    
         
            -
            // node_modules/.pnpm/sisteransi@1.0.5/node_modules/sisteransi/src/index.js
         
     | 
| 
      
 59 
     | 
    
         
            +
            // ../node_modules/.pnpm/sisteransi@1.0.5/node_modules/sisteransi/src/index.js
         
     | 
| 
       60 
60 
     | 
    
         
             
            var require_src = __commonJS({
         
     | 
| 
       61 
     | 
    
         
            -
              "node_modules/.pnpm/sisteransi@1.0.5/node_modules/sisteransi/src/index.js"(exports2, module2) {
         
     | 
| 
      
 61 
     | 
    
         
            +
              "../node_modules/.pnpm/sisteransi@1.0.5/node_modules/sisteransi/src/index.js"(exports2, module2) {
         
     | 
| 
       62 
62 
     | 
    
         
             
                "use strict";
         
     | 
| 
       63 
63 
     | 
    
         
             
                var ESC = "\x1B";
         
     | 
| 
       64 
64 
     | 
    
         
             
                var CSI = `${ESC}[`;
         
     | 
| 
         @@ -117,9 +117,9 @@ var require_src = __commonJS({ 
     | 
|
| 
       117 
117 
     | 
    
         
             
              }
         
     | 
| 
       118 
118 
     | 
    
         
             
            });
         
     | 
| 
       119 
119 
     | 
    
         | 
| 
       120 
     | 
    
         
            -
            // node_modules/.pnpm/hanji@0.0.5/node_modules/hanji/utils.js
         
     | 
| 
      
 120 
     | 
    
         
            +
            // ../node_modules/.pnpm/hanji@0.0.5/node_modules/hanji/utils.js
         
     | 
| 
       121 
121 
     | 
    
         
             
            var require_utils = __commonJS({
         
     | 
| 
       122 
     | 
    
         
            -
              "node_modules/.pnpm/hanji@0.0.5/node_modules/hanji/utils.js"(exports2) {
         
     | 
| 
      
 122 
     | 
    
         
            +
              "../node_modules/.pnpm/hanji@0.0.5/node_modules/hanji/utils.js"(exports2) {
         
     | 
| 
       123 
123 
     | 
    
         
             
                "use strict";
         
     | 
| 
       124 
124 
     | 
    
         
             
                Object.defineProperty(exports2, "__esModule", { value: true });
         
     | 
| 
       125 
125 
     | 
    
         
             
                exports2.clear = void 0;
         
     | 
| 
         @@ -147,9 +147,9 @@ var require_utils = __commonJS({ 
     | 
|
| 
       147 
147 
     | 
    
         
             
              }
         
     | 
| 
       148 
148 
     | 
    
         
             
            });
         
     | 
| 
       149 
149 
     | 
    
         | 
| 
       150 
     | 
    
         
            -
            // node_modules/.pnpm/lodash.throttle@4.1.1/node_modules/lodash.throttle/index.js
         
     | 
| 
      
 150 
     | 
    
         
            +
            // ../node_modules/.pnpm/lodash.throttle@4.1.1/node_modules/lodash.throttle/index.js
         
     | 
| 
       151 
151 
     | 
    
         
             
            var require_lodash = __commonJS({
         
     | 
| 
       152 
     | 
    
         
            -
              "node_modules/.pnpm/lodash.throttle@4.1.1/node_modules/lodash.throttle/index.js"(exports2, module2) {
         
     | 
| 
      
 152 
     | 
    
         
            +
              "../node_modules/.pnpm/lodash.throttle@4.1.1/node_modules/lodash.throttle/index.js"(exports2, module2) {
         
     | 
| 
       153 
153 
     | 
    
         
             
                var FUNC_ERROR_TEXT = "Expected a function";
         
     | 
| 
       154 
154 
     | 
    
         
             
                var NAN = 0 / 0;
         
     | 
| 
       155 
155 
     | 
    
         
             
                var symbolTag = "[object Symbol]";
         
     | 
| 
         @@ -295,9 +295,9 @@ var require_lodash = __commonJS({ 
     | 
|
| 
       295 
295 
     | 
    
         
             
              }
         
     | 
| 
       296 
296 
     | 
    
         
             
            });
         
     | 
| 
       297 
297 
     | 
    
         | 
| 
       298 
     | 
    
         
            -
            // node_modules/.pnpm/hanji@0.0.5/node_modules/hanji/index.js
         
     | 
| 
      
 298 
     | 
    
         
            +
            // ../node_modules/.pnpm/hanji@0.0.5/node_modules/hanji/index.js
         
     | 
| 
       299 
299 
     | 
    
         
             
            var require_hanji = __commonJS({
         
     | 
| 
       300 
     | 
    
         
            -
              "node_modules/.pnpm/hanji@0.0.5/node_modules/hanji/index.js"(exports2) {
         
     | 
| 
      
 300 
     | 
    
         
            +
              "../node_modules/.pnpm/hanji@0.0.5/node_modules/hanji/index.js"(exports2) {
         
     | 
| 
       301 
301 
     | 
    
         
             
                "use strict";
         
     | 
| 
       302 
302 
     | 
    
         
             
                var __awaiter = exports2 && exports2.__awaiter || function(thisArg, _arguments, P, generator) {
         
     | 
| 
       303 
303 
     | 
    
         
             
                  function adopt(value) {
         
     | 
| 
         @@ -568,6 +568,7 @@ __export(utils_exports, { 
     | 
|
| 
       568 
568 
     | 
    
         
             
              columnRenameKey: () => columnRenameKey,
         
     | 
| 
       569 
569 
     | 
    
         
             
              copy: () => copy,
         
     | 
| 
       570 
570 
     | 
    
         
             
              dryJournal: () => dryJournal,
         
     | 
| 
      
 571 
     | 
    
         
            +
              isPgArrayType: () => isPgArrayType,
         
     | 
| 
       571 
572 
     | 
    
         
             
              kloudMeta: () => kloudMeta,
         
     | 
| 
       572 
573 
     | 
    
         
             
              normaliseSQLiteUrl: () => normaliseSQLiteUrl,
         
     | 
| 
       573 
574 
     | 
    
         
             
              objectValues: () => objectValues,
         
     | 
| 
         @@ -579,9 +580,8 @@ __export(utils_exports, { 
     | 
|
| 
       579 
580 
     | 
    
         
             
              validateWithReport: () => validateWithReport
         
     | 
| 
       580 
581 
     | 
    
         
             
            });
         
     | 
| 
       581 
582 
     | 
    
         
             
            module.exports = __toCommonJS(utils_exports);
         
     | 
| 
       582 
     | 
    
         
            -
            var import_fs = require("fs");
         
     | 
| 
       583 
583 
     | 
    
         | 
| 
       584 
     | 
    
         
            -
            // node_modules/.pnpm/chalk@5.3.0/node_modules/chalk/source/vendor/ansi-styles/index.js
         
     | 
| 
      
 584 
     | 
    
         
            +
            // ../node_modules/.pnpm/chalk@5.3.0/node_modules/chalk/source/vendor/ansi-styles/index.js
         
     | 
| 
       585 
585 
     | 
    
         
             
            var ANSI_BACKGROUND_OFFSET = 10;
         
     | 
| 
       586 
586 
     | 
    
         
             
            var wrapAnsi16 = (offset = 0) => (code) => `\x1B[${code + offset}m`;
         
     | 
| 
       587 
587 
     | 
    
         
             
            var wrapAnsi256 = (offset = 0) => (code) => `\x1B[${38 + offset};5;${code}m`;
         
     | 
| 
         @@ -767,7 +767,7 @@ function assembleStyles() { 
     | 
|
| 
       767 
767 
     | 
    
         
             
            var ansiStyles = assembleStyles();
         
     | 
| 
       768 
768 
     | 
    
         
             
            var ansi_styles_default = ansiStyles;
         
     | 
| 
       769 
769 
     | 
    
         | 
| 
       770 
     | 
    
         
            -
            // node_modules/.pnpm/chalk@5.3.0/node_modules/chalk/source/vendor/supports-color/index.js
         
     | 
| 
      
 770 
     | 
    
         
            +
            // ../node_modules/.pnpm/chalk@5.3.0/node_modules/chalk/source/vendor/supports-color/index.js
         
     | 
| 
       771 
771 
     | 
    
         
             
            var import_node_process = __toESM(require("node:process"), 1);
         
     | 
| 
       772 
772 
     | 
    
         
             
            var import_node_os = __toESM(require("node:os"), 1);
         
     | 
| 
       773 
773 
     | 
    
         
             
            var import_node_tty = __toESM(require("node:tty"), 1);
         
     | 
| 
         @@ -893,7 +893,7 @@ var supportsColor = { 
     | 
|
| 
       893 
893 
     | 
    
         
             
            };
         
     | 
| 
       894 
894 
     | 
    
         
             
            var supports_color_default = supportsColor;
         
     | 
| 
       895 
895 
     | 
    
         | 
| 
       896 
     | 
    
         
            -
            // node_modules/.pnpm/chalk@5.3.0/node_modules/chalk/source/utilities.js
         
     | 
| 
      
 896 
     | 
    
         
            +
            // ../node_modules/.pnpm/chalk@5.3.0/node_modules/chalk/source/utilities.js
         
     | 
| 
       897 
897 
     | 
    
         
             
            function stringReplaceAll(string, substring, replacer) {
         
     | 
| 
       898 
898 
     | 
    
         
             
              let index4 = string.indexOf(substring);
         
     | 
| 
       899 
899 
     | 
    
         
             
              if (index4 === -1) {
         
     | 
| 
         @@ -923,7 +923,7 @@ function stringEncaseCRLFWithFirstIndex(string, prefix, postfix, index4) { 
     | 
|
| 
       923 
923 
     | 
    
         
             
              return returnValue;
         
     | 
| 
       924 
924 
     | 
    
         
             
            }
         
     | 
| 
       925 
925 
     | 
    
         | 
| 
       926 
     | 
    
         
            -
            // node_modules/.pnpm/chalk@5.3.0/node_modules/chalk/source/index.js
         
     | 
| 
      
 926 
     | 
    
         
            +
            // ../node_modules/.pnpm/chalk@5.3.0/node_modules/chalk/source/index.js
         
     | 
| 
       927 
927 
     | 
    
         
             
            var { stdout: stdoutColor, stderr: stderrColor } = supports_color_default;
         
     | 
| 
       928 
928 
     | 
    
         
             
            var GENERATOR = Symbol("GENERATOR");
         
     | 
| 
       929 
929 
     | 
    
         
             
            var STYLER = Symbol("STYLER");
         
     | 
| 
         @@ -1070,6 +1070,11 @@ var chalk = createChalk(); 
     | 
|
| 
       1070 
1070 
     | 
    
         
             
            var chalkStderr = createChalk({ level: stderrColor ? stderrColor.level : 0 });
         
     | 
| 
       1071 
1071 
     | 
    
         
             
            var source_default = chalk;
         
     | 
| 
       1072 
1072 
     | 
    
         | 
| 
      
 1073 
     | 
    
         
            +
            // src/utils.ts
         
     | 
| 
      
 1074 
     | 
    
         
            +
            var import_fs = require("fs");
         
     | 
| 
      
 1075 
     | 
    
         
            +
            var import_path = require("path");
         
     | 
| 
      
 1076 
     | 
    
         
            +
            var import_url = require("url");
         
     | 
| 
      
 1077 
     | 
    
         
            +
             
     | 
| 
       1073 
1078 
     | 
    
         
             
            // src/cli/views.ts
         
     | 
| 
       1074 
1079 
     | 
    
         
             
            var import_hanji = __toESM(require_hanji());
         
     | 
| 
       1075 
1080 
     | 
    
         
             
            var info = (msg, greyMsg = "") => {
         
     | 
| 
         @@ -1083,7 +1088,7 @@ function assertUnreachable(x) { 
     | 
|
| 
       1083 
1088 
     | 
    
         
             
              throw new Error("Didn't expect to get here");
         
     | 
| 
       1084 
1089 
     | 
    
         
             
            }
         
     | 
| 
       1085 
1090 
     | 
    
         | 
| 
       1086 
     | 
    
         
            -
            // node_modules/.pnpm/zod@3.23. 
     | 
| 
      
 1091 
     | 
    
         
            +
            // ../node_modules/.pnpm/zod@3.23.7/node_modules/zod/lib/index.mjs
         
     | 
| 
       1087 
1092 
     | 
    
         
             
            var util;
         
     | 
| 
       1088 
1093 
     | 
    
         
             
            (function(util2) {
         
     | 
| 
       1089 
1094 
     | 
    
         
             
              util2.assertEqual = (val) => val;
         
     | 
| 
         @@ -5543,8 +5548,6 @@ var sqliteSchemaV5 = schemaV52; 
     | 
|
| 
       5543 
5548 
     | 
    
         
             
            var backwardCompatibleSqliteSchema = unionType([sqliteSchemaV5, schema2]);
         
     | 
| 
       5544 
5549 
     | 
    
         | 
| 
       5545 
5550 
     | 
    
         
             
            // src/utils.ts
         
     | 
| 
       5546 
     | 
    
         
            -
            var import_path = require("path");
         
     | 
| 
       5547 
     | 
    
         
            -
            var import_url = require("url");
         
     | 
| 
       5548 
5551 
     | 
    
         
             
            var copy = (it) => {
         
     | 
| 
       5549 
5552 
     | 
    
         
             
              return JSON.parse(JSON.stringify(it));
         
     | 
| 
       5550 
5553 
     | 
    
         
             
            };
         
     | 
| 
         @@ -5736,12 +5739,16 @@ var normaliseSQLiteUrl = (it, type) => { 
     | 
|
| 
       5736 
5739 
     | 
    
         
             
              }
         
     | 
| 
       5737 
5740 
     | 
    
         
             
              assertUnreachable(type);
         
     | 
| 
       5738 
5741 
     | 
    
         
             
            };
         
     | 
| 
      
 5742 
     | 
    
         
            +
            function isPgArrayType(sqlType) {
         
     | 
| 
      
 5743 
     | 
    
         
            +
              return sqlType.match(/.*\[\d*\].*|.*\[\].*/g) !== null;
         
     | 
| 
      
 5744 
     | 
    
         
            +
            }
         
     | 
| 
       5739 
5745 
     | 
    
         
             
            // Annotate the CommonJS export names for ESM import in node:
         
     | 
| 
       5740 
5746 
     | 
    
         
             
            0 && (module.exports = {
         
     | 
| 
       5741 
5747 
     | 
    
         
             
              assertV1OutFolder,
         
     | 
| 
       5742 
5748 
     | 
    
         
             
              columnRenameKey,
         
     | 
| 
       5743 
5749 
     | 
    
         
             
              copy,
         
     | 
| 
       5744 
5750 
     | 
    
         
             
              dryJournal,
         
     | 
| 
      
 5751 
     | 
    
         
            +
              isPgArrayType,
         
     | 
| 
       5745 
5752 
     | 
    
         
             
              kloudMeta,
         
     | 
| 
       5746 
5753 
     | 
    
         
             
              normaliseSQLiteUrl,
         
     | 
| 
       5747 
5754 
     | 
    
         
             
              objectValues,
         
     |