Skip to content

Commit

Permalink
Add unconfirmed_email to users table
Browse files Browse the repository at this point in the history
  • Loading branch information
sonalkr132 committed Jan 4, 2017
1 parent f66a225 commit 69869b2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions db/migrate/20161231080902_add_unconfirmed_email_to_users.rb
@@ -0,0 +1,5 @@
class AddUnconfirmedEmailToUsers < ActiveRecord::Migration
def change
add_column :users, :unconfirmed_email, :string
end
end
3 changes: 2 additions & 1 deletion db/schema.rb
Expand Up @@ -11,7 +11,7 @@
#
# It's strongly recommended that you check this file into your version control system.

ActiveRecord::Schema.define(version: 20160929104437) do
ActiveRecord::Schema.define(version: 20161231080902) do

# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
Expand Down Expand Up @@ -143,6 +143,7 @@
t.string "handle"
t.boolean "hide_email"
t.string "twitter_username"
t.string "unconfirmed_email"
end

add_index "users", ["email"], name: "index_users_on_email", using: :btree
Expand Down

0 comments on commit 69869b2

Please sign in to comment.