1
0
mirror of https://github.com/projekteuler/projekteuler.git synced 2025-12-10 00:36:42 +01:00

Explicitly set null:true for migrations with timestamps

This commit is contained in:
Philipp Fischbeck 2015-01-05 10:21:20 +01:00
parent d12d3e0f3b
commit f93ff5b381
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ class CreateProblems < ActiveRecord::Migration
t.string :title
t.text :content
t.timestamps
t.timestamps null: true
end
end
end

View File

@ -1,7 +1,7 @@
class CreateProblemsAgain < ActiveRecord::Migration
def change
create_table :problems do |t|
t.timestamps
t.timestamps null: true
end
end
end