]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/20160822153055_create_issues_and_reports.rb
Remove created_at / updated_at column definitions since these duplicate t.timestamps
[rails.git] / db / migrate / 20160822153055_create_issues_and_reports.rb
index 20d4fb2754e85030ee32ebf85b4e970d9f331f39..a25523cb9c57b68263a37f845037670c1107966a 100644 (file)
@@ -10,10 +10,7 @@ class CreateIssuesAndReports < ActiveRecord::Migration
       t.string :issue_type
       t.datetime :resolved_at
       t.integer :resolved_by
-      t.datetime :created_at
-      t.datetime :updated_at
       t.integer :updated_by
-
       t.timestamps :null => false
     end
 
@@ -26,9 +23,6 @@ class CreateIssuesAndReports < ActiveRecord::Migration
       t.integer :issue_id
       t.integer :reporter_user_id
       t.text :details, :null => false
-      t.datetime :created_at
-      t.datetime :updated_at
-
       t.timestamps :null => false
     end