Plume/migrations/sqlite/2018-10-30-151545_add_post_cover/up.sql
Baptiste Gelez ab5edbc6a5 Add a cover field to posts
Referencing the media to use to illustrate the article
2018-10-31 15:07:40 +01:00

3 lines
104 B
SQL

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