mirror of
https://github.com/internetee/registry.git
synced 2025-07-22 10:45:58 +02:00
Add force_delete_start field to ForceDelete & add tests
Add new test file new_force_delete_test.rb to check if new ForceDeleteProcedures are correct. ATM it's just a scaffold of some sort, all tests are red, magic numbers and so - just a proof of concept. See #1428
This commit is contained in:
parent
844e613ee1
commit
550d020229
4 changed files with 109 additions and 114 deletions
|
@ -8,6 +8,7 @@ SET client_encoding = 'UTF8';
|
|||
SET standard_conforming_strings = on;
|
||||
SELECT pg_catalog.set_config('search_path', '', false);
|
||||
SET check_function_bodies = false;
|
||||
SET xmloption = content;
|
||||
SET client_min_messages = warning;
|
||||
|
||||
--
|
||||
|
@ -742,7 +743,8 @@ CREATE TABLE public.domains (
|
|||
upid integer,
|
||||
up_date timestamp without time zone,
|
||||
uuid uuid DEFAULT public.gen_random_uuid() NOT NULL,
|
||||
locked_by_registrant_at timestamp without time zone
|
||||
locked_by_registrant_at timestamp without time zone,
|
||||
force_delete_start timestamp without time zone
|
||||
);
|
||||
|
||||
|
||||
|
@ -4334,6 +4336,8 @@ INSERT INTO "schema_migrations" (version) VALUES
|
|||
('20191206183853'),
|
||||
('20191212133136'),
|
||||
('20191227110904'),
|
||||
('20191203083643'),
|
||||
('20200113091254');
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue