X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/cd2ca12d4235473cd3611b84e2a61649c17da2f6..eada36ff96d1b534457d98a25239ec468a7cba2c:/db/migrate/20140507110937_create_changeset_comments.rb diff --git a/db/migrate/20140507110937_create_changeset_comments.rb b/db/migrate/20140507110937_create_changeset_comments.rb index cfc499535..796919c51 100644 --- a/db/migrate/20140507110937_create_changeset_comments.rb +++ b/db/migrate/20140507110937_create_changeset_comments.rb @@ -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