Sha256: 07b0d970a1eb8a3e60394c3feb1fe16cff3b7800d46180cd60eacd16a5097188

Contents?: true

Size: 285 Bytes

Versions: 32

Compression:

Stored size: 285 Bytes

Contents

# Used by the account expiration feature
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

Version data entries

32 entries across 32 versions & 2 rubygems

Version Path
plutonium-0.8.0 lib/generators/pu/rodauth/migration/sequel/account_expiration.erb
rodauth-rails-1.14.0 lib/generators/rodauth/migration/sequel/account_expiration.erb
plutonium-0.6.2 lib/generators/pu/rodauth/migration/sequel/account_expiration.erb
plutonium-0.6.1 lib/generators/pu/rodauth/migration/sequel/account_expiration.erb
plutonium-0.6.0 lib/generators/pu/rodauth/migration/sequel/account_expiration.erb
plutonium-0.5.0 lib/generators/pu/rodauth/migration/sequel/account_expiration.erb
rodauth-rails-1.13.0 lib/generators/rodauth/migration/sequel/account_expiration.erb
rodauth-rails-1.12.0 lib/generators/rodauth/migration/sequel/account_expiration.erb
rodauth-rails-1.11.0 lib/generators/rodauth/migration/sequel/account_expiration.erb
rodauth-rails-1.10.0 lib/generators/rodauth/migration/sequel/account_expiration.erb
rodauth-rails-1.9.0 lib/generators/rodauth/migration/sequel/account_expiration.erb
rodauth-rails-1.8.0 lib/generators/rodauth/migration/sequel/account_expiration.erb