adds first name and last name to users
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
class AddFirstNameAndLastNameToUsers < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :users, :first_name, :string
|
||||
add_column :users, :last_name, :string
|
||||
end
|
||||
end
|
||||
@@ -11,7 +11,7 @@
|
||||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 20150716174358) do
|
||||
ActiveRecord::Schema.define(version: 20150717164054) do
|
||||
|
||||
create_table "debates", force: :cascade do |t|
|
||||
t.string "title"
|
||||
@@ -34,6 +34,8 @@ ActiveRecord::Schema.define(version: 20150716174358) do
|
||||
t.string "last_sign_in_ip"
|
||||
t.datetime "created_at", null: false
|
||||
t.datetime "updated_at", null: false
|
||||
t.string "first_name"
|
||||
t.string "last_name"
|
||||
end
|
||||
|
||||
add_index "users", ["email"], name: "index_users_on_email", unique: true
|
||||
|
||||
Reference in New Issue
Block a user