From 1201042efe332431185a6d7bd5816491aa8e6b73 Mon Sep 17 00:00:00 2001 From: Cedric Hurst Date: Thu, 6 Jul 2017 20:59:20 -0500 Subject: [PATCH] #269 adding database fields --- ...20170707001034_add_chapter_project_review_dates.rb | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 db/migrate/20170707001034_add_chapter_project_review_dates.rb diff --git a/db/migrate/20170707001034_add_chapter_project_review_dates.rb b/db/migrate/20170707001034_add_chapter_project_review_dates.rb new file mode 100644 index 00000000..15fc0f4a --- /dev/null +++ b/db/migrate/20170707001034_add_chapter_project_review_dates.rb @@ -0,0 +1,11 @@ +class AddChapterProjectReviewDates < ActiveRecord::Migration + def up + add_column :chapters, :project_review_start, :date + add_column :chapters, :project_review_end, :date + end + + def down + remove_column :chapters, :project_review_start + remove_column :chapters, :project_review_end + end +end