Copy instances_add_keys migration for SQLite

This commit is contained in:
Kitaiti Makoto 2021-09-08 22:15:20 +09:00
parent c2dcac4413
commit 9a58d9bcb7
2 changed files with 4 additions and 0 deletions

View File

@ -0,0 +1,2 @@
ALTER TABLE instances DROP COLUMN private_key;
ALTER TABLE instances DROP COLUMN public_key;

View File

@ -0,0 +1,2 @@
ALTER TABLE instances ADD COLUMN private_key TEXT;
ALTER TABLE instances ADD COLUMN public_key TEXT;