[Database v0006] Drop unused server.path field
- Fix "Field 'path' doesn't have a default value" errors
This commit is contained in:
parent
ffa16d1935
commit
ca0bb09f81
2 changed files with 6 additions and 0 deletions
3
src/sql/migrations/down/0005.sql
Normal file
3
src/sql/migrations/down/0005.sql
Normal file
|
@ -0,0 +1,3 @@
|
|||
BEGIN;
|
||||
ALTER TABLE `server` ADD `path` varchar(190) NOT NULL DEFAULT '' AFTER `base_url`;
|
||||
COMMIT;
|
3
src/sql/migrations/up/0006.sql
Normal file
3
src/sql/migrations/up/0006.sql
Normal file
|
@ -0,0 +1,3 @@
|
|||
BEGIN;
|
||||
ALTER TABLE `server` DROP COLUMN `path`;
|
||||
COMMIT;
|
Loading…
Reference in a new issue