Sha256: 000e5bcabeea748f57b27ee3e74e897f3c1f5caa65131f6ff523bf666b0366e6

Contents?: true

Size: 321 Bytes

Versions: 6

Compression:

Stored size: 321 Bytes

Contents

class CreatePeopleUsers < ActiveRecord::Migration
  def change
    create_table :people_users do |t|
      t.string :username
      t.string :email
      t.string :password_digest

      t.timestamps
    end
    add_index :people_users, :username, unique: true
    add_index :people_users, :email, unique: true
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
arcadex-1.3.1 test/test_app/engines/people/db/migrate/20141016225548_create_people_users.rb
arcadex-1.3.0 test/test_app/engines/people/db/migrate/20141016225548_create_people_users.rb
people_user_generator-0.0.1 db/migrate/20141021150908_create_people_users.rb
arcadex-1.2.3 test/test_app/engines/people/db/migrate/20141016225548_create_people_users.rb
arcadex-1.2.1 test/test_app/engines/people/db/migrate/20141016225548_create_people_users.rb
arcadex-1.2.0 test/test_app/engines/people/db/migrate/20141016225548_create_people_users.rb