Sha256: 86007d2032a34e5abc46cb93aa6d7cb02b299d9124821aad569acca277aed7e5

Contents?: true

Size: 269 Bytes

Versions: 2

Compression:

Stored size: 269 Bytes

Contents

class CreateWhodatUsers < ActiveRecord::Migration[5.2]
  def change
    create_table :whodat_users do |t|
      t.string :name
      t.string :email
      t.string :password_digest

      t.timestamps
    end
    add_index :whodat_users, :email, unique: true
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
whodat-1.0.1 db/migrate/20180717210347_create_whodat_users.rb
whodat-1.0.0 db/migrate/20180717210347_create_whodat_users.rb