Save and restore statuses when setting and unsetting force delete #2845

This commit is contained in:
Martin Lensment 2015-08-10 17:18:45 +03:00
parent 2c0de95363
commit 9157f861d8
4 changed files with 32 additions and 13 deletions

View file

@ -910,7 +910,8 @@ CREATE TABLE domains (
force_delete_at timestamp without time zone,
statuses character varying[],
reserved boolean DEFAULT false,
status_notes hstore
status_notes hstore,
statuses_backup character varying[] DEFAULT '{}'::character varying[]
);
@ -4871,3 +4872,5 @@ INSERT INTO schema_migrations (version) VALUES ('20150722071128');
INSERT INTO schema_migrations (version) VALUES ('20150803080914');
INSERT INTO schema_migrations (version) VALUES ('20150810114746');