diff options
author | Vincent Ambo <tazjin@gmail.com> | 2018-04-08T16·27+0200 |
---|---|---|
committer | Vincent Ambo <tazjin@gmail.com> | 2018-04-08T16·30+0200 |
commit | 316036b0a89a428e850ea33e07f5fe2362f833c9 (patch) | |
tree | 489a4e6c8b7e8f117b054d0087981027f288aad3 /migrations/2018-04-08-161017_joinable_posts/up.sql | |
parent | 6e56f8e729551ff14b7a72ca889b8dd38999fb2d (diff) |
refactor(db): Establish Post->Thread association
This makes it possible to query posts by thread via Diesel.
Diffstat (limited to 'migrations/2018-04-08-161017_joinable_posts/up.sql')
-rw-r--r-- | migrations/2018-04-08-161017_joinable_posts/up.sql | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/migrations/2018-04-08-161017_joinable_posts/up.sql b/migrations/2018-04-08-161017_joinable_posts/up.sql new file mode 100644 index 000000000000..9713de6cfc4b --- /dev/null +++ b/migrations/2018-04-08-161017_joinable_posts/up.sql @@ -0,0 +1 @@ +ALTER TABLE posts RENAME COLUMN thread TO thread_id; |