mtgcoll/migrations/00009_add_owned_count_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

6 lines
177 B
SQL

DROP TRIGGER IF EXISTS cards_update_owned_count_trigger ON collection;
DROP FUNCTION IF EXISTS update_card_owned_count();
ALTER TABLE cards DROP COLUMN IF EXISTS owned_count;