]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/20120318201948_create_redactions.rb
Don't try and add fingerprints for user images
[rails.git] / db / migrate / 20120318201948_create_redactions.rb
index 15cc1e13b8c6576d09128b76f36e35eec1ddb9d6..e108ea84b060337b6a5097d09f0bf9782b945ab1 100644 (file)
@@ -1,12 +1,12 @@
-require 'migrate'
+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|