From bcf6445d92f1a57dff0b97bd9309f40b70088448 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Wed, 13 Mar 2019 10:18:45 -0400 Subject: Added started/finished on dates to Game --- db/migrate/20190313123149_add_start_and_end_dates_to_game.rb | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 db/migrate/20190313123149_add_start_and_end_dates_to_game.rb (limited to 'db/migrate') 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 @@ +class AddStartAndEndDatesToGame < ActiveRecord::Migration[5.2] + def change + change_table :games do |c| + c.date :started_on + c.date :finished_on + end + end +end -- cgit 1.4.1