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/20160224223247_create_mentions.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/20160224223247_create_mentions.rb')
-rw-r--r-- | db/migrate/20160224223247_create_mentions.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/20160224223247_create_mentions.rb b/db/migrate/20160224223247_create_mentions.rb index 095f6b7d2..6dd742d3b 100644 --- a/db/migrate/20160224223247_create_mentions.rb +++ b/db/migrate/20160224223247_create_mentions.rb @@ -1,4 +1,4 @@ -class CreateMentions < ActiveRecord::Migration +class CreateMentions < ActiveRecord::Migration[4.2] def change create_table :mentions do |t| t.integer :account_id |