Sha256: 6d9be2ebbebf06144fb951c0d71c44ca312203ede4550755d2a16247b4c723ac

Contents?: true

Size: 305 Bytes

Versions: 2

Compression:

Stored size: 305 Bytes

Contents

class CreateCustomers < ActiveRecord::Migration[6.0]
  def change
    create_table :rails_marketplace_customers do |t|
    	t.string :email
    	t.string :password
    	t.string :phone_number
    	t.string :first_name
    	t.string :last_name

    	t.timestamps null: false
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rails_marketplace-0.0.2 db/migrate/20161013195006_create_customers.rb
rails_marketplace-0.0.1 db/migrate/20161013195006_create_customers.rb