diff options
Diffstat (limited to 'web/converse/migrations/2018-05-25-160648_add_closed_column')
-rw-r--r-- | web/converse/migrations/2018-05-25-160648_add_closed_column/down.sql | 1 | ||||
-rw-r--r-- | web/converse/migrations/2018-05-25-160648_add_closed_column/up.sql | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/web/converse/migrations/2018-05-25-160648_add_closed_column/down.sql b/web/converse/migrations/2018-05-25-160648_add_closed_column/down.sql new file mode 100644 index 000000000000..fb2a98c0af42 --- /dev/null +++ b/web/converse/migrations/2018-05-25-160648_add_closed_column/down.sql @@ -0,0 +1 @@ +ALTER TABLE threads DROP COLUMN closed; diff --git a/web/converse/migrations/2018-05-25-160648_add_closed_column/up.sql b/web/converse/migrations/2018-05-25-160648_add_closed_column/up.sql new file mode 100644 index 000000000000..d7d4c44da201 --- /dev/null +++ b/web/converse/migrations/2018-05-25-160648_add_closed_column/up.sql @@ -0,0 +1 @@ +ALTER TABLE threads ADD COLUMN closed BOOLEAN NOT NULL DEFAULT false; |