about summary refs log tree commit diff stats
path: root/db/migrate
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2019-03-13 10:18:45 -0400
committerKelly Rauchenberger <fefferburbia@gmail.com>2019-03-13 10:18:45 -0400
commitbcf6445d92f1a57dff0b97bd9309f40b70088448 (patch)
tree94d908f819d4e1360b37ea794b26fde4dde81944 /db/migrate
parent837537b14b01a8c7504b786e1bbf7a350c21242a (diff)
downloadthoughts-bcf6445d92f1a57dff0b97bd9309f40b70088448.tar.gz
thoughts-bcf6445d92f1a57dff0b97bd9309f40b70088448.tar.bz2
thoughts-bcf6445d92f1a57dff0b97bd9309f40b70088448.zip
Added started/finished on dates to Game
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/20190313123149_add_start_and_end_dates_to_game.rb8
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 @@
1class 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
8end