]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/20140507110937_create_changeset_comments.rb
It's to_sym not to_symbol
[rails.git] / db / migrate / 20140507110937_create_changeset_comments.rb
index cfc499535c2ed44f5648d8dd86d52d1f8af123d1..fdcdaf65daca8cfb25138dc8da6d44d527312dee 100644 (file)
@@ -1,10 +1,10 @@
-require 'migrate'
+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