Sha256: ff7b2b87b68bd32dea1a59bc480ef8a125d0f633a74c83e6e171d70149807bb5

Contents?: true

Size: 232 Bytes

Versions: 15

Compression:

Stored size: 232 Bytes

Contents

class CreateUsers < ActiveRecord::Migration
  def change
    create_table :users do |t|
      t.string :email, unique: true, null: false
      t.string :password_digest, null: false

      t.timestamps null: false
    end
  end
end

Version data entries

15 entries across 15 versions & 3 rubygems

Version Path
KnockRails3-2.1.1 test/dummy/db/migrate/20150713101607_create_users.rb
knock-2.1.1 test/dummy/db/migrate/20150713101607_create_users.rb
knock-2.1 test/dummy/db/migrate/20150713101607_create_users.rb
knock-2.0 test/dummy/db/migrate/20150713101607_create_users.rb
knock-1.5 test/dummy/db/migrate/20150713101607_create_users.rb
knocknock-0.0.0 test/dummy/db/migrate/20150713101607_create_users.rb
knock-1.4.2 test/dummy/db/migrate/20150713101607_create_users.rb
knock-1.4.1 test/dummy/db/migrate/20150713101607_create_users.rb
knock-1.4.0 test/dummy/db/migrate/20150713101607_create_users.rb
knock-1.3.0 test/dummy/db/migrate/20150713101607_create_users.rb
knock-1.2.0 test/dummy/db/migrate/20150713101607_create_users.rb
knock-1.1.0 test/dummy/db/migrate/20150713101607_create_users.rb
knock-1.1.0.rc1 test/dummy/db/migrate/20150713101607_create_users.rb
knock-1.0.0 test/dummy/db/migrate/20150713101607_create_users.rb
knock-1.0.0.rc1 test/dummy/db/migrate/20150713101607_create_users.rb