mirror of
https://github.com/fspc/BikeShed-1.git
synced 2025-03-01 01:03:23 -05:00
20 lines
445 B
Ruby
20 lines
445 B
Ruby
class CreateUserProfile < ActiveRecord::Migration
|
|
def change
|
|
create_table :user_profiles do |t|
|
|
t.integer "user_id", :null => false
|
|
t.integer "bike_id"
|
|
t.string "first_name"
|
|
t.string "last_name"
|
|
t.string "addrStreet1"
|
|
t.string "addrStreet2"
|
|
t.string "addrCity"
|
|
t.string "addrState"
|
|
t.string "addrZip"
|
|
t.string "phone"
|
|
t.string "email"
|
|
t.timestamps
|
|
end
|
|
end
|
|
|
|
end
|