Sha256: 08a876c5300c822980fa4013d51cbde24579e596e4e6a362a188f9b690e31475
Contents?: true
Size: 386 Bytes
Versions: 2
Compression:
Stored size: 386 Bytes
Contents
class CreateUsers < ActiveRecord::Migration def change create_table :users do |t| t.timestamps null: false t.string :email, null: false t.string :encrypted_password, limit: 128, null: false t.string :confirmation_token, limit: 128 t.string :remember_token, limit: 128, null: false t.index :email t.index :remember_token end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
clearance-1.12.0 | lib/generators/clearance/install/templates/db/migrate/create_users.rb |
clearance-1.11.0 | lib/generators/clearance/install/templates/db/migrate/create_users.rb |