mirror of
https://github.com/internetee/registry.git
synced 2025-07-24 19:48:28 +02:00
Add actions to set force delete #2624
This commit is contained in:
parent
9bd832278c
commit
ba5be7b4f4
9 changed files with 101 additions and 24 deletions
|
@ -0,0 +1,5 @@
|
|||
class AddForceDeleteAtToDomain < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :domains, :force_delete_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: 20150610112238) do
|
||||
ActiveRecord::Schema.define(version: 20150610144547) do
|
||||
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "plpgsql"
|
||||
|
@ -306,6 +306,7 @@ ActiveRecord::Schema.define(version: 20150610112238) do
|
|||
t.datetime "registrant_verification_asked_at"
|
||||
t.string "registrant_verification_token"
|
||||
t.json "pending_json"
|
||||
t.datetime "force_delete_at"
|
||||
end
|
||||
|
||||
add_index "domains", ["delete_at"], name: "index_domains_on_delete_at", using: :btree
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue