mtgcoll/migrations/00008_add_prices_to_cards_table.down.sql
Gered 064ad77af8 initial commit
not sure why i waited so long to put this project under version control
2016-06-24 14:17:45 -04:00

7 lines
242 B
SQL

DROP TRIGGER IF EXISTS cards_update_most_recent_card_price_trigger ON card_prices;
DROP FUNCTION IF EXISTS most_recent_card_price();
ALTER TABLE cards DROP COLUMN IF EXISTS paper_price;
ALTER TABLE cards DROP COLUMN IF EXISTS online_price;