]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/20120318201948_create_redactions.rb
Merge pull request #4593 from AntonKhorev/simplify-link_to-on-issue-pages
[rails.git] / db / migrate / 20120318201948_create_redactions.rb
index 15cc1e13b8c6576d09128b76f36e35eec1ddb9d6..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|