You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

18 lines
382 B

class CreateUsers < ActiveRecord::Migration[7.0]
def change
create_table :users do |t|
t.string :name
t.string :objective
t.string :address
t.string :email
t.string :phone
t.string :linkedin
t.string :github
t.string :other_page_url
t.timestamps
end
add_reference :work_experiences, :user, index: true
end
end