Sha256: f807f4cab6057abaf67ccd2fed45492fc724e713678536b1aaa001175445de1e

Contents?: true

Size: 255 Bytes

Versions: 2

Compression:

Stored size: 255 Bytes

Contents

class CreateUsers < ActiveRecord::Migration
  def change
    create_table :users do |t|
      t.string :email
      t.boolean :agreed_to_terms_of_service
      t.string :encrypted_password
      t.timestamps
    end
    add_index :users, :email
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
curate-0.1.1 spec/dummy/db/migrate/20130408165008_create_users.rb
curate-0.1.0 spec/dummy/db/migrate/20130408165008_create_users.rb