diff options
Diffstat (limited to 'db/migrate')
-rw-r--r-- | db/migrate/20190313123149_add_start_and_end_dates_to_game.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/db/migrate/20190313123149_add_start_and_end_dates_to_game.rb b/db/migrate/20190313123149_add_start_and_end_dates_to_game.rb new file mode 100644 index 0000000..7803344 --- /dev/null +++ b/db/migrate/20190313123149_add_start_and_end_dates_to_game.rb | |||
@@ -0,0 +1,8 @@ | |||
1 | class AddStartAndEndDatesToGame < ActiveRecord::Migration[5.2] | ||
2 | def change | ||
3 | change_table :games do |c| | ||
4 | c.date :started_on | ||
5 | c.date :finished_on | ||
6 | end | ||
7 | end | ||
8 | end | ||