colouring-montreal/migrations/013.team.down.sql

11 lines
420 B
MySQL
Raw Normal View History

2019-08-15 10:08:02 -04:00
-- Remove team fields, update in paralell with adding new fields
--Numeric small int, if > 1 triggers multifield boxes on fron end
ALTER TABLE buildings DROP COLUMN IF EXISTS number_of_awards;
2019-08-15 10:08:02 -04:00
-- Award or awards (may be multiple) stored as json b object
ALTER TABLE buildings DROP COLUMN IF EXISTS team_awards;
2019-08-15 10:08:02 -04:00
--This is a pair to team_awards each may have one
ALTER TABLE buildings DROP COLUMN IF EXISTS award_year;