From 3c4938a61a7a67ac0b71bc0bc327c9d5cf7904ba Mon Sep 17 00:00:00 2001 From: Simon Williams Date: Wed, 7 Oct 2015 14:16:38 -0600 Subject: [PATCH] add timestamps to group_categories table test plan: - run migrations - look at a group category in the console - it should have a created_at and updated_at field Change-Id: Ie09dce263e4dcbd2bc34b4d296fab190a21f7c2d Reviewed-on: https://gerrit.instructure.com/64775 Tested-by: Jenkins Reviewed-by: Cody Cutrer Product-Review: Simon Williams QA-Review: Simon Williams --- .../20151006220031_add_timestamps_to_group_categories.rb | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 db/migrate/20151006220031_add_timestamps_to_group_categories.rb diff --git a/db/migrate/20151006220031_add_timestamps_to_group_categories.rb b/db/migrate/20151006220031_add_timestamps_to_group_categories.rb new file mode 100644 index 00000000000..2bd39a0c443 --- /dev/null +++ b/db/migrate/20151006220031_add_timestamps_to_group_categories.rb @@ -0,0 +1,9 @@ +class AddTimestampsToGroupCategories < ActiveRecord::Migration + tag :predeploy + + def change + change_table(:group_categories) do |t| + t.timestamps + end + end +end