Adds erased_at to user via a migration
This commit is contained in:
5
db/migrate/20151021113348_add_erased_at_to_users.rb
Normal file
5
db/migrate/20151021113348_add_erased_at_to_users.rb
Normal file
@@ -0,0 +1,5 @@
|
||||
class AddErasedAtToUsers < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :users, :erased_at, :datetime
|
||||
end
|
||||
end
|
||||
@@ -11,7 +11,7 @@
|
||||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 20151020112354) do
|
||||
ActiveRecord::Schema.define(version: 20151021113348) do
|
||||
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "plpgsql"
|
||||
@@ -294,6 +294,7 @@ ActiveRecord::Schema.define(version: 20151020112354) do
|
||||
t.integer "failed_census_calls_count", default: 0
|
||||
t.datetime "level_two_verified_at"
|
||||
t.string "erase_reason"
|
||||
t.datetime "erased_at"
|
||||
end
|
||||
|
||||
add_index "users", ["confirmation_token"], name: "index_users_on_confirmation_token", unique: true, using: :btree
|
||||
|
||||
Reference in New Issue
Block a user