Sha256: 6c3daacfc56c13261c90ad01e8b82c1ceaf86323007d3cddaa31ae0fa026f6f9
Contents?: true
Size: 1.06 KB
Versions: 20
Compression:
Stored size: 1.06 KB
Contents
class CreateKirguduBaseSecurityRestorePasswordCodes < ActiveRecord::Migration def change create_table :kirgudu_base_security_restore_password_codes do |t| t.integer :user_id, limit: 8, null: false t.string :code, limit: 128, null: false t.datetime :sent_at t.datetime :expire_at, null: false t.boolean :is_used, null: false, default: false t.timestamps end add_index :kirgudu_base_security_restore_password_codes, :user_id, name: "idx_krgd_bs_sec_rst_pswd_cod_user_id" add_index :kirgudu_base_security_restore_password_codes, :sent_at, name: "idx_krgd_bs_sec_rst_pswd_cod_sent_at" add_index :kirgudu_base_security_restore_password_codes, :expire_at, name: "idx_krgd_bs_sec_rst_pswd_cod_expire_at" add_index :kirgudu_base_security_restore_password_codes, :is_used, name: "idx_krgd_bs_sec_rst_pswd_cod_is_used" add_index :kirgudu_base_security_restore_password_codes, :created_at, name: "idx_krgd_bs_sec_rst_pswd_cod_crtd_at" add_index :kirgudu_base_security_restore_password_codes, :updated_at, name: "idx_krgd_bs_sec_rst_pswd_cod_updt_at" end end
Version data entries
20 entries across 20 versions & 1 rubygems