Skip to content
This repository was archived by the owner on Sep 24, 2019. It is now read-only.

Commit dab0516

Browse files
committed
add email to user
1 parent b1407d1 commit dab0516

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

db/migrate/20170212195638_create_ratings.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ class CreateRatings < ActiveRecord::Migration[5.0]
22
def change
33
create_table :users do |t|
44
t.string :name
5+
t.string :email
56
t.timestamps
67
end
78

db/schema.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@
149149

150150
create_table "users", force: :cascade do |t|
151151
t.string "name"
152+
t.string "email"
152153
t.datetime "created_at", null: false
153154
t.datetime "updated_at", null: false
154155
end

0 commit comments

Comments
 (0)