diff --git a/db/migrate/20141130153941_create_problems.rb b/db/migrate/20141130153941_create_problems.rb index f85a4ea..ea807b0 100644 --- a/db/migrate/20141130153941_create_problems.rb +++ b/db/migrate/20141130153941_create_problems.rb @@ -4,7 +4,7 @@ class CreateProblems < ActiveRecord::Migration t.string :title t.text :content - t.timestamps + t.timestamps null: true end end end diff --git a/db/migrate/20141214214958_create_problems_again.rb b/db/migrate/20141214214958_create_problems_again.rb index 578d123..1a137b5 100644 --- a/db/migrate/20141214214958_create_problems_again.rb +++ b/db/migrate/20141214214958_create_problems_again.rb @@ -1,7 +1,7 @@ class CreateProblemsAgain < ActiveRecord::Migration def change create_table :problems do |t| - t.timestamps + t.timestamps null: true end end end