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.
This commit is contained in:
parent
370fa70924
commit
f54dca06a9
23 changed files with 23 additions and 23 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue