Sha256: cae37f998a74a363a80ff8ab724d20489d290e2e337c29f929d043154f210027

Contents?: true

Size: 258 Bytes

Versions: 7

Compression:

Stored size: 258 Bytes

Contents

class CreateUsers < ActiveRecord::Migration
  def change
    create_table :users do |t|
      t.string :first_name
      t.string :last_name
      t.string :email

      t.timestamps
    end
    
    add_column :todo_items, :user_id, :integer
    
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
hyper-mesh-0.6.0 reactive_record_test_app/db/migrate/20150617134028_create_users.rb
hyper-mesh-0.5.4 reactive_record_test_app/db/migrate/20150617134028_create_users.rb
hyper-mesh-0.5.3 reactive_record_test_app/db/migrate/20150617134028_create_users.rb
hyper-mesh-0.5.2 reactive_record_test_app/db/migrate/20150617134028_create_users.rb
hyper-mesh-0.5.1 reactive_record_test_app/db/migrate/20150617134028_create_users.rb
hyper-mesh-0.5.0 reactive_record_test_app/db/migrate/20150617134028_create_users.rb
hyper-mesh-0.4.0 reactive_record_test_app/db/migrate/20150617134028_create_users.rb