-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
1,336 additions
and
71 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 |
---|---|---|
|
@@ -7,5 +7,5 @@ docker-compose.yml | |
.gitignore | ||
.idea | ||
|
||
data/main.sqlite | ||
data/main-pc.sqlite | ||
data/backups |
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,9 @@ | ||
ALTER TABLE `schedule` RENAME COLUMN `user_id` TO `message_channel_id`;--> statement-breakpoint | ||
/* | ||
SQLite does not support "Drop not null from column" out of the box, we do not generate automatic migration for that, so it has to be done manually | ||
Please refer to: https://www.techonthenet.com/sqlite/tables/alter_table.php | ||
https://www.sqlite.org/lang_altertable.html | ||
https://stackoverflow.com/questions/2083543/modify-a-columns-type-in-sqlite3 | ||
Due to that we don't generate migration automatically and it has to be done manually | ||
*/ |
Oops, something went wrong.