jam-cloud/db/up/second_ed.sql

4 lines
324 B
MySQL
Raw Normal View History

2016-09-08 10:59:58 +00:00
ALTER TABLE schools ADD COLUMN education BOOLEAN NOT NULL DEFAULT FALSE;
ALTER TABLE teacher_distributions ADD COLUMN education BOOLEAN NOT NULL DEFAULT FALSE;
ALTER TABLE lesson_bookings ADD COLUMN same_school_free BOOLEAN NOT NULL DEFAULT FALSE;
UPDATE lesson_bookings SET same_school_free = true where same_school = true;