about summary refs log tree commit diff
path: root/db/migrate/20160222143943_add_profile_fields_to_accounts.rb
diff options
context:
space:
mode:
authorRené Klačan <rene@klacan.sk>2017-06-05 02:43:02 +0200
committerEugen Rochko <eugen@zeonfederated.com>2017-06-05 02:43:02 +0200
commitf54dca06a91c4adb8c916a1af9a699166502efa2 (patch)
tree28324b037eedef2de9eb65228bf3f58f00b58b4d /db/migrate/20160222143943_add_profile_fields_to_accounts.rb
parent370fa70924228f2baa8e24fd1e8f33eb6cd0bfd6 (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/20160222143943_add_profile_fields_to_accounts.rb')
-rw-r--r--db/migrate/20160222143943_add_profile_fields_to_accounts.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/20160222143943_add_profile_fields_to_accounts.rb b/db/migrate/20160222143943_add_profile_fields_to_accounts.rb
index 221142bdd..cf279a535 100644
--- a/db/migrate/20160222143943_add_profile_fields_to_accounts.rb
+++ b/db/migrate/20160222143943_add_profile_fields_to_accounts.rb
@@ -1,4 +1,4 @@
-class AddProfileFieldsToAccounts < ActiveRecord::Migration
+class AddProfileFieldsToAccounts < ActiveRecord::Migration[4.2]
   def change
     add_column :accounts, :note, :text, null: false, default: ''
     add_column :accounts, :display_name, :string, null: false, default: ''