2019-08-15 10:08:02 -04:00
|
|
|
-- Remove team fields, update in paralell with adding new fields
|
|
|
|
|
2019-08-29 12:24:53 -04:00
|
|
|
--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
|
|
|
|
2019-08-29 12:24:53 -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
|
|
|
|
2019-08-29 12:24:53 -04:00
|
|
|
--This is a pair to team_awards each may have one
|
|
|
|
ALTER TABLE buildings DROP COLUMN IF EXISTS award_year;
|