0
0
Fork 0

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:
René Klačan 2017-06-05 02:43:02 +02:00 committed by Eugen Rochko
parent 370fa70924
commit f54dca06a9
23 changed files with 23 additions and 23 deletions

View file

@ -1,4 +1,4 @@
class CreateAccounts < ActiveRecord::Migration
class CreateAccounts < ActiveRecord::Migration[4.2]
def change
create_table :accounts do |t|
t.string :username, null: false, default: ''