Add migration

This commit is contained in:
Pierre HUBERT 2023-08-26 16:08:57 +02:00
parent 8086c1b4c9
commit 914c626bfb
3 changed files with 5 additions and 0 deletions

View File

@ -0,0 +1,2 @@
-- This file should undo anything in `up.sql`
alter table families drop column disable_couple_photos;

View File

@ -0,0 +1,2 @@
-- Your SQL goes here
ALTER TABLE families add column disable_couple_photos boolean not null default false;

View File

@ -25,6 +25,7 @@ diesel::table! {
time_create -> Int8,
name -> Varchar,
invitation_code -> Varchar,
disable_couple_photos -> Bool,
}
}