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.
This commit is contained in:
Vincent Ambo 2018-04-14 16:33:15 +02:00
parent bf02c70f74
commit a90d1cc1a4
2 changed files with 7 additions and 0 deletions

View file

@ -0,0 +1 @@
ALTER TABLE threads ADD COLUMN body TEXT NOT NULL DEFAULT '';