]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/20120318201948_create_redactions.rb
Merge pull request #5295 from tomhughes/danger-branches
[rails.git] / db / migrate / 20120318201948_create_redactions.rb
index bb9786db45f65bd849bba5a934eb37517108439b..3f6eec613cd0b492ac636c902b7bc870234bf55e 100644 (file)
@@ -1,12 +1,10 @@
-require "migrate"
-
-class CreateRedactions < ActiveRecord::Migration
+class CreateRedactions < ActiveRecord::Migration[4.2]
   def change
     create_table :redactions do |t|
       t.string :title
       t.text :description
 
-      t.timestamps
+      t.timestamps :null => true
     end
 
     [:nodes, :ways, :relations].each do |tbl|