mirror of
https://github.com/internetee/registry.git
synced 2025-07-24 19:48:28 +02:00
Refactor force delete
procedure
- Change `domains.force_delete_at` database column type to date, rename to `force_delete_date` - Save `force_delete_date` in application timezone - Improve tests Fixes #812, #253
This commit is contained in:
parent
f35b2dc36c
commit
5107d2d3a9
20 changed files with 62 additions and 33 deletions
|
@ -71,7 +71,7 @@ Content-Type: application/json
|
|||
"pending_json":{
|
||||
|
||||
},
|
||||
"force_delete_at":null,
|
||||
"force_delete_date":null,
|
||||
"statuses":[
|
||||
"ok"
|
||||
],
|
||||
|
@ -187,7 +187,7 @@ Content-Type: application/json
|
|||
"pending_json":{
|
||||
|
||||
},
|
||||
"force_delete_at":null,
|
||||
"force_delete_date":null,
|
||||
"statuses":[
|
||||
"ok"
|
||||
],
|
||||
|
@ -295,7 +295,7 @@ Content-Type: application/json
|
|||
"pending_json":{
|
||||
|
||||
},
|
||||
"force_delete_at":null,
|
||||
"force_delete_date":null,
|
||||
"statuses":[
|
||||
"ok"
|
||||
],
|
||||
|
|
|
@ -71,7 +71,7 @@ Content-Type: application/json
|
|||
"pending_json":{
|
||||
|
||||
},
|
||||
"force_delete_at":null,
|
||||
"force_delete_date":null,
|
||||
"statuses":[
|
||||
"serverUpdateProhibited",
|
||||
"serverDeleteProhibited",
|
||||
|
@ -216,7 +216,7 @@ Content-Type: application/json
|
|||
"pending_json":{
|
||||
|
||||
},
|
||||
"force_delete_at":null,
|
||||
"force_delete_date":null,
|
||||
"statuses":[
|
||||
"ok"
|
||||
],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue