lib/generators/rodauth/migration/sequel/account_expiration.erb in rodauth-rails-1.7.1 vs lib/generators/rodauth/migration/sequel/account_expiration.erb in rodauth-rails-1.8.0

- old
+ new

@@ -1,7 +1,7 @@ # Used by the account expiration feature -create_table :account_activity_times do - foreign_key :id, :accounts, primary_key: true, type: :Bignum +create_table :<%= table_prefix %>_activity_times do + foreign_key :id, :<%= table_prefix.pluralize %>, primary_key: true, type: :Bignum DateTime :last_activity_at, null: false DateTime :last_login_at, null: false DateTime :expired_at end