diff --git a/migrations/postgres/2021-09-08-131154_instances_add_keys/down.sql b/migrations/postgres/2021-09-08-131154_instances_add_keys/down.sql index 291a97c5..d303bf39 100644 --- a/migrations/postgres/2021-09-08-131154_instances_add_keys/down.sql +++ b/migrations/postgres/2021-09-08-131154_instances_add_keys/down.sql @@ -1 +1,2 @@ --- This file should undo anything in `up.sql` \ No newline at end of file +ALTER TABLE instances DROP COLUMN private_key; +ALTER TABLE instances DROP COLUMN public_key; diff --git a/migrations/postgres/2021-09-08-131154_instances_add_keys/up.sql b/migrations/postgres/2021-09-08-131154_instances_add_keys/up.sql index 33cf74b5..417033c9 100644 --- a/migrations/postgres/2021-09-08-131154_instances_add_keys/up.sql +++ b/migrations/postgres/2021-09-08-131154_instances_add_keys/up.sql @@ -1 +1,2 @@ --- Your SQL goes here \ No newline at end of file +ALTER TABLE instances ADD COLUMN private_key TEXT; +ALTER TABLE instances ADD COLUMN public_key TEXT;