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:
committed by
Eugen Rochko
parent
370fa70924
commit
f54dca06a9
@ -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
|
||||
|
Reference in New Issue
Block a user