test/dummy/db/migrate/20120508165529_create_tables.rb in devise-security-0.17.0 vs test/dummy/db/migrate/20120508165529_create_tables.rb in devise-security-0.18.0

- old
+ new

@@ -1,9 +1,9 @@ # frozen_string_literal: true class CreateTables < MIGRATION_CLASS - def self.up + def self.up # rubocop:disable Metrics/AbcSize create_table :users do |t| t.string :username t.string :facebook_token # session_limitable @@ -37,10 +37,10 @@ t.string :password_salt t.string :password_archivable_type, null: false t.integer :password_archivable_id, null: false t.datetime :created_at end - add_index :old_passwords, [:password_archivable_type, :password_archivable_id], name: 'index_password_archivable' + add_index :old_passwords, %i[password_archivable_type password_archivable_id], name: 'index_password_archivable' end def self.down drop_table :users drop_table :secure_users