db/migrate/20160707154842_create_versions.rb in phcmembers-9.0.0 vs db/migrate/20160707154842_create_versions.rb in phcmembers-10.0.0
- old
+ new
@@ -1,7 +1,7 @@
# This migration creates the `versions` table, the only schema PT requires.
# All other migrations PT provides are optional.
-class CreateVersions < ActiveRecord::Migration
+class CreateVersions < ActiveRecord::Migration[5.1]
# Class names of MySQL adapters.
# - `MysqlAdapter` - Used by gems: `mysql`, `activerecord-jdbcmysql-adapter`.
# - `Mysql2Adapter` - Used by `mysql2` gem.
MYSQL_ADAPTERS = [
"ActiveRecord::ConnectionAdapters::MysqlAdapter",