mirror of
https://github.com/wavetermdev/waveterm.git
synced 2024-12-23 16:58:27 +01:00
add db migrations
This commit is contained in:
parent
fe3fb6d377
commit
ee4cfd2d4b
2
db/migrations/000005_buildtime.down.sql
Normal file
2
db/migrations/000005_buildtime.down.sql
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
ALTER TABLE activity DROP COLUMN buildtime;
|
||||||
|
ALTER TABLE activity DROP COLUMN osrelease;
|
2
db/migrations/000005_buildtime.up.sql
Normal file
2
db/migrations/000005_buildtime.up.sql
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
ALTER TABLE activity ADD COLUMN buildtime varchar(20) NOT NULL DEFAULT '-';
|
||||||
|
ALTER TABLE activity ADD COLUMN osrelease varchar(20) NOT NULL DEFAULT '-';
|
Loading…
Reference in New Issue
Block a user