Sha256: 50696e85deb23ad727d06790945ec7a65e4d3371a9d2391a3d146665456d1d7c
Contents?: true
Size: 522 Bytes
Versions: 19
Compression:
Stored size: 522 Bytes
Contents
class CreateUsers < ActiveRecord::Migration def change create_table :users do |t| t.string :email, null: false t.string :password_digest, null: false t.string :password_salt, null: false t.string :nickname t.datetime :confirmed_at t.string :confirmation_key t.datetime :confirmation_key_expired_at t.string :reset_password_key t.datetime :reset_password_key_expired_at t.timestamps null: false end add_index :users, :email, unique: true end end
Version data entries
19 entries across 19 versions & 1 rubygems