bun-query-builder 0.1.37 → 0.1.39
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/dist/actions/introspect-db.d.ts +10 -0
- package/dist/bin/cli.js +619 -77
- package/dist/drivers/mysql.d.ts +7 -1
- package/dist/drivers/postgres.d.ts +7 -1
- package/dist/drivers/sqlite.d.ts +7 -1
- package/dist/migrations.d.ts +84 -10
- package/dist/src/index.js +621 -76
- package/dist/types.d.ts +4 -0
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -246,12 +246,16 @@ export declare interface MigrateOptions {
|
|
|
246
246
|
state?: string
|
|
247
247
|
apply?: boolean
|
|
248
248
|
full?: boolean
|
|
249
|
+
applyRenames?: boolean
|
|
250
|
+
fromDb?: boolean
|
|
251
|
+
dryRun?: boolean
|
|
249
252
|
}
|
|
250
253
|
export declare interface GenerateMigrationResult {
|
|
251
254
|
sql: string
|
|
252
255
|
sqlStatements: string[]
|
|
253
256
|
hasChanges: boolean
|
|
254
257
|
plan: any
|
|
258
|
+
operations?: import('./migrations').MigrationOperation[]
|
|
255
259
|
}
|
|
256
260
|
export declare interface UnsafeOptions {
|
|
257
261
|
params?: string
|
package/package.json
CHANGED