From f54dca06a91c4adb8c916a1af9a699166502efa2 Mon Sep 17 00:00:00 2001 From: René Klačan Date: Mon, 5 Jun 2017 02:43:02 +0200 Subject: Add migration versions (#3574) Since Rails 5.1 missing migration version results in following error: ``` StandardError: Directly inheriting from ActiveRecord::Migration is not supported. Please specify the Rails release the migration was written for: ``` This PR fixes all migration files. --- db/migrate/20170330164118_add_attachment_data_to_imports.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'db/migrate/20170330164118_add_attachment_data_to_imports.rb') diff --git a/db/migrate/20170330164118_add_attachment_data_to_imports.rb b/db/migrate/20170330164118_add_attachment_data_to_imports.rb index 4850b0663..2deda1886 100644 --- a/db/migrate/20170330164118_add_attachment_data_to_imports.rb +++ b/db/migrate/20170330164118_add_attachment_data_to_imports.rb @@ -1,4 +1,4 @@ -class AddAttachmentDataToImports < ActiveRecord::Migration +class AddAttachmentDataToImports < ActiveRecord::Migration[4.2] def self.up change_table :imports do |t| t.attachment :data -- cgit