mirror of
https://git.joinplu.me/Plume/Plume.git
synced 2024-12-19 16:46:37 +00:00
a7b34173dd
Fixes #200
7 lines
223 B
SQL
7 lines
223 B
SQL
-- This file should undo anything in `up.sql`
|
|
ALTER TABLE users
|
|
DROP CONSTRAINT users_avatar_id_fkey,
|
|
ADD CONSTRAINT users_avatar_id_fkey
|
|
FOREIGN KEY (avatar_id)
|
|
REFERENCES medias(id)
|
|
ON DELETE CASCADE;
|