-
-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: no default value causing migration breaks
- Loading branch information
Showing
5 changed files
with
25 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
ALTER TABLE `model_data` ADD `file_path` text DEFAULT '' NOT NULL;--> statement-breakpoint | ||
CREATE UNIQUE INDEX `model_data_file_path_unique` ON `model_data` (`file_path`); |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,23 @@ | ||
// This file is required for Expo/React Native SQLite migrations - https://orm.drizzle.team/quick-sqlite/expo | ||
|
||
import journal from './meta/_journal.json'; | ||
import m0000 from './0000_sudden_blockbuster.sql'; | ||
import m0001 from './0001_yellow_squirrel_girl.sql'; | ||
import m0002 from './0002_majestic_brother_voodoo.sql'; | ||
import m0003 from './0003_violet_firelord.sql'; | ||
import m0004 from './0004_small_deadpool.sql'; | ||
import m0005 from './0005_warm_microbe.sql'; | ||
import m0006 from './0006_dusty_jetstream.sql'; | ||
import journal from './meta/_journal.json' | ||
import m0000 from './0000_sudden_blockbuster.sql' | ||
import m0001 from './0001_yellow_squirrel_girl.sql' | ||
import m0002 from './0002_majestic_brother_voodoo.sql' | ||
import m0003 from './0003_violet_firelord.sql' | ||
import m0004 from './0004_small_deadpool.sql' | ||
import m0005 from './0005_warm_microbe.sql' | ||
import m0006 from './0006_bored_carnage.sql' | ||
|
||
export default { | ||
export default { | ||
journal, | ||
migrations: { | ||
m0000, | ||
m0001, | ||
m0002, | ||
m0003, | ||
m0004, | ||
m0005, | ||
m0006 | ||
} | ||
} | ||
|
||
m0000, | ||
m0001, | ||
m0002, | ||
m0003, | ||
m0004, | ||
m0005, | ||
m0006, | ||
}, | ||
} |