Last active
September 5, 2017 15:57
-
-
Save EssenceOfChaos/8e5de47a720a523ce9a6a73b5435a73e to your computer and use it in GitHub Desktop.
migration for User
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class CreateUsers < ActiveRecord::Migration[5.1] | |
def change | |
create_table :users do |t| | |
t.string :first_name | |
t.string :last_name | |
t.string :email | |
t.string :phone | |
t.hstore :address | |
t.string :eye_color | |
t.date :dob | |
t.timestamps | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment