diff options
author | Vincent Ambo <tazjin@gmail.com> | 2018-04-14T14·33+0200 |
---|---|---|
committer | Vincent Ambo <tazjin@gmail.com> | 2018-04-14T14·33+0200 |
commit | a90d1cc1a41e405ea397b06a3bc1907291c98b65 (patch) | |
tree | ebe7f4a2f7c24ddc318889b59c3a38a07818a840 /migrations/2018-04-14-140818_posts_only_in_posts/down.sql | |
parent | bf02c70f74ea13452d9ee129ad047075e64cdfd6 (diff) |
feat(migrations): Drop 'body' column from threads
As a data model simplification, the text of a thread's top post should simply also go into the posts table.
Diffstat (limited to 'migrations/2018-04-14-140818_posts_only_in_posts/down.sql')
-rw-r--r-- | migrations/2018-04-14-140818_posts_only_in_posts/down.sql | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/migrations/2018-04-14-140818_posts_only_in_posts/down.sql b/migrations/2018-04-14-140818_posts_only_in_posts/down.sql new file mode 100644 index 000000000000..bb6528f33d78 --- /dev/null +++ b/migrations/2018-04-14-140818_posts_only_in_posts/down.sql @@ -0,0 +1 @@ +ALTER TABLE threads ADD COLUMN body TEXT NOT NULL DEFAULT ''; |