Sha256: d70e602b492b03ca8725e9fbc97b7d988cb33e542cc39b38c92a1af33688528a

Contents?: true

Size: 165 Bytes

Versions: 9

Compression:

Stored size: 165 Bytes

Contents

class AddAuthenticateTimeoutableToUsers < ActiveRecord::Migration
  def change
    add_column :<%= table_name %>, :last_access_at, :datetime, default: nil
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
authenticate-0.6.0 lib/generators/authenticate/install/templates/db/migrate/add_authenticate_timeoutable_to_users.rb
authenticate-0.5.0 lib/generators/authenticate/install/templates/db/migrate/add_authenticate_timeoutable_to_users.rb
authenticate-0.4.0 lib/generators/authenticate/install/templates/db/migrate/add_authenticate_timeoutable_to_users.rb
authenticate-0.3.3 lib/generators/authenticate/install/templates/db/migrate/add_authenticate_timeoutable_to_users.rb
authenticate-0.3.2 lib/generators/authenticate/install/templates/db/migrate/add_authenticate_timeoutable_to_users.rb
authenticate-0.3.1 lib/generators/authenticate/install/templates/db/migrate/add_authenticate_timeoutable_to_users.rb
authenticate-0.3.0 lib/generators/authenticate/install/templates/db/migrate/add_authenticate_timeoutable_to_users.rb
authenticate-0.2.3 lib/generators/authenticate/install/templates/db/migrate/add_authenticate_timeoutable_to_users.rb
authenticate-0.2.2 lib/generators/authenticate/install/templates/db/migrate/add_authenticate_timeoutable_to_users.rb