Sha256: 860bbe5ff09253f99266f8a811ce76c8d90a9e3165db5337d33476b558952c8c

Contents?: true

Size: 561 Bytes

Versions: 3

Compression:

Stored size: 561 Bytes

Contents

# frozen_string_literal: true
class CreateSlashAdminAdmins < ActiveRecord::Migration[5.0]
  def change
    create_table :slash_admin_admins do |t|
      ## Database authenticatable
      t.string :username,           null: false, default: ''
      t.string :email,              null: false, default: ''
      t.string :password_digest,    null: false, default: ''
      t.string :avatar
      t.string :roles

      ## Recoverable
      t.string   :reset_password_token
      t.datetime :reset_password_sent_at

      t.timestamps null: false
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
slash_admin-1.0.1 db/migrate/20170512104248_create_slash_admin_admins.rb
slash_admin-1.0 db/migrate/20170512104248_create_slash_admin_admins.rb
slash_admin-0.1.0 db/migrate/20170512104248_create_slash_admin_admins.rb