Plume/migrations/postgres/2018-10-30-151529_add_post_.../up.sql

3 lines
104 B
MySQL
Raw Normal View History

-- Your SQL goes here
ALTER TABLE posts ADD COLUMN cover_id INTEGER REFERENCES medias(id) DEFAULT NULL;