Skip to content

Commit

Permalink
adding migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
YoSarin committed Jan 4, 2020
1 parent b161188 commit 82276b8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions data/migrations/deploy/00009_adding_numbers_to_players.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
ALTER TABLE player
ADD COLUMN jersey_number NUMBER;

ALTER TABLE player_at_roster
ADD COLUMN jersey_number NUMBER;
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
ALTER TABLE player_at_roster
DROP COLUMN jersey_number;

ALTER TABLE player
DROP COLUMN jersey_number;

0 comments on commit 82276b8

Please sign in to comment.