mirror of
https://git.joinplu.me/Plume/Plume.git
synced 2024-11-26 21:41:04 +00:00
aa72334dc6
* Allow for media cover deletion Fix #356 * Fix sqlite migrations
4 lines
201 B
SQL
4 lines
201 B
SQL
-- This file should undo anything in `up.sql`
|
|
|
|
ALTER TABLE posts DROP CONSTRAINT posts_cover_id_fkey;
|
|
ALTER TABLE posts ADD CONSTRAINT posts_cover_id_fkey FOREIGN KEY (cover_id) REFERENCES medias(id);
|