Sha256: 5b1c9cf51105a50d02f62767b4f61f2cd0725670109d8794d4528dfc380671fe
Contents?: true
Size: 349 Bytes
Versions: 7
Compression:
Stored size: 349 Bytes
Contents
class SorceryRememberMe < <%= migration_class_name %> def change add_column :<%= model_class_name.tableize %>, :remember_me_token, :string, :default => nil add_column :<%= model_class_name.tableize %>, :remember_me_token_expires_at, :datetime, :default => nil add_index :<%= model_class_name.tableize %>, :remember_me_token end end
Version data entries
7 entries across 7 versions & 1 rubygems