Plume/migrations/sqlite/2018-10-30-151545_add_post_cover/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;