tvl-depot/migrations/2018-04-08-161017_joinable_posts/down.sql
Vincent Ambo 316036b0a8 refactor(db): Establish Post->Thread association
This makes it possible to query posts by thread via Diesel.
2018-04-08 18:30:01 +02:00

1 line
53 B
SQL

ALTER TABLE posts RENAME COLUMN thread_id TO thread;