]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/20140507110937_create_changeset_comments.rb
Switch to using the zeitwork autoloader
[rails.git] / db / migrate / 20140507110937_create_changeset_comments.rb
index 26c257cbc4476b7fc4461c5732fe7d64c24456f7..796919c5107807a547dcb13ec82c261a408daa53 100644 (file)
@@ -1,10 +1,8 @@
-require "migrate"
-
-class CreateChangesetComments < ActiveRecord::Migration
+class CreateChangesetComments < ActiveRecord::Migration[4.2]
   def change
     create_table :changeset_comments do |t|
       t.column :changeset_id, :bigint, :null => false
-      t.column :author_id, :bigint, :null =>  false
+      t.column :author_id, :bigint, :null => false
       t.text :body, :null => false
       t.timestamp :created_at, :null => false
       t.boolean :visible, :null => false