about summary refs log tree commit diff
path: root/db/migrate/20160221003621_create_follows.rb
diff options
context:
space:
mode:
authorRené Klačan <rene@klacan.sk>2017-06-05 02:43:02 +0200
committerEugen Rochko <eugen@zeonfederated.com>2017-06-05 02:43:02 +0200
commitf54dca06a91c4adb8c916a1af9a699166502efa2 (patch)
tree28324b037eedef2de9eb65228bf3f58f00b58b4d /db/migrate/20160221003621_create_follows.rb
parent370fa70924228f2baa8e24fd1e8f33eb6cd0bfd6 (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/20160221003621_create_follows.rb')
-rw-r--r--db/migrate/20160221003621_create_follows.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/20160221003621_create_follows.rb b/db/migrate/20160221003621_create_follows.rb
index afec3dee0..17287d09b 100644
--- a/db/migrate/20160221003621_create_follows.rb
+++ b/db/migrate/20160221003621_create_follows.rb
@@ -1,4 +1,4 @@
-class CreateFollows < ActiveRecord::Migration
+class CreateFollows < ActiveRecord::Migration[4.2]
   def change
     create_table :follows do |t|
       t.integer :account_id, null: false