diff options
author | René Klačan <rene@klacan.sk> | 2017-06-05 02:43:02 +0200 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2017-06-05 02:43:02 +0200 |
commit | f54dca06a91c4adb8c916a1af9a699166502efa2 (patch) | |
tree | 28324b037eedef2de9eb65228bf3f58f00b58b4d /db/migrate/20160227230233_add_attachment_avatar_to_accounts.rb | |
parent | 370fa70924228f2baa8e24fd1e8f33eb6cd0bfd6 (diff) |
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.
Diffstat (limited to 'db/migrate/20160227230233_add_attachment_avatar_to_accounts.rb')
-rw-r--r-- | db/migrate/20160227230233_add_attachment_avatar_to_accounts.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/20160227230233_add_attachment_avatar_to_accounts.rb b/db/migrate/20160227230233_add_attachment_avatar_to_accounts.rb index 99d88e5ecf2..c107c4c7fa7 100644 --- a/db/migrate/20160227230233_add_attachment_avatar_to_accounts.rb +++ b/db/migrate/20160227230233_add_attachment_avatar_to_accounts.rb @@ -1,4 +1,4 @@ -class AddAttachmentAvatarToAccounts < ActiveRecord::Migration +class AddAttachmentAvatarToAccounts < ActiveRecord::Migration[4.2] def self.up change_table :accounts do |t| t.attachment :avatar |