Sha256: 9eff3da62b9c18a9ba154476a1cd22621d2c5d3d517057b567a132c7042df717

Contents?: true

Size: 364 Bytes

Versions: 4

Compression:

Stored size: 364 Bytes

Contents

class CreateLunarShellUsers < ActiveRecord::Migration
  def change
    create_table :lunar_shell_users do |t|
      t.string  :username,        limit: 32, null: false
      t.string  :password_digest, null: false
      t.boolean :admin,           default: false, null: false

      t.index :username, unique: true

      t.timestamps null: false
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
lunar_shell-0.5.2 db/migrate/20160616015436_create_lunar_shell_users.rb
lunar_shell-0.5.0 db/migrate/20160616015436_create_lunar_shell_users.rb
lunar_shell-0.4.1 db/migrate/20160616015436_create_lunar_shell_users.rb
lunar_shell-0.3.0 db/migrate/20160616015436_create_lunar_shell_users.rb