migration adding nickname to user
This commit is contained in:
5
db/migrate/20150806135245_add_nickname_to_user.rb
Normal file
5
db/migrate/20150806135245_add_nickname_to_user.rb
Normal file
@@ -0,0 +1,5 @@
|
||||
class AddNicknameToUser < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :users, :nickname, :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: 20150806111435) do
|
||||
ActiveRecord::Schema.define(version: 20150806135245) do
|
||||
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "plpgsql"
|
||||
@@ -80,6 +80,7 @@ ActiveRecord::Schema.define(version: 20150806111435) do
|
||||
t.datetime "confirmed_at"
|
||||
t.datetime "confirmation_sent_at"
|
||||
t.string "unconfirmed_email"
|
||||
t.string "nickname"
|
||||
end
|
||||
|
||||
add_index "users", ["confirmation_token"], name: "index_users_on_confirmation_token", unique: true, using: :btree
|
||||
|
||||
Reference in New Issue
Block a user