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/20160223171800_create_favourites.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/20160223171800_create_favourites.rb')
-rw-r--r-- | db/migrate/20160223171800_create_favourites.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/20160223171800_create_favourites.rb b/db/migrate/20160223171800_create_favourites.rb index bb35f491f..64f5cf119 100644 --- a/db/migrate/20160223171800_create_favourites.rb +++ b/db/migrate/20160223171800_create_favourites.rb @@ -1,4 +1,4 @@ -class CreateFavourites < ActiveRecord::Migration +class CreateFavourites < ActiveRecord::Migration[4.2] def change create_table :favourites do |t| t.integer :account_id, null: false |