diff --git a/db/migrate/20150828085718_add_confirmed_hide_at_to_users.rb b/db/migrate/20150828085718_add_confirmed_hide_at_to_users.rb new file mode 100644 index 000000000..ca299aa5e --- /dev/null +++ b/db/migrate/20150828085718_add_confirmed_hide_at_to_users.rb @@ -0,0 +1,5 @@ +class AddConfirmedHideAtToUsers < ActiveRecord::Migration + def change + add_column :users, :confirmed_hide_at, :datetime + end +end diff --git a/db/schema.rb b/db/schema.rb index 7819be065..0da2f7c6a 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -11,7 +11,7 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema.define(version: 20150827083232) do +ActiveRecord::Schema.define(version: 20150828085718) do # These are extensions that must be enabled in order to support this database enable_extension "plpgsql" @@ -184,6 +184,7 @@ ActiveRecord::Schema.define(version: 20150827083232) do t.datetime "hidden_at" t.string "phone_number", limit: 30 t.string "username" + t.datetime "confirmed_hide_at" end add_index "users", ["confirmation_token"], name: "index_users_on_confirmation_token", unique: true, using: :btree