Merge branch 'refactor-contact-archivation' of https://github.com/internetee/registry into refactor-contact-archivation

This commit is contained in:
Karl Erik Õunapuu 2020-09-02 16:27:57 +03:00
commit e9f28a6d14
2 changed files with 6 additions and 3 deletions

View file

@ -0,0 +1,5 @@
class ChangeLogDomainsChildrenTypeToJsonb < ActiveRecord::Migration
def change
change_column :log_domains, :children, 'jsonb USING children::jsonb'
end
end

View file

@ -1493,7 +1493,7 @@ CREATE TABLE public.log_domains (
object_changes json, object_changes json,
created_at timestamp without time zone, created_at timestamp without time zone,
session character varying, session character varying,
children json, children jsonb,
uuid character varying uuid character varying
); );
@ -4849,5 +4849,3 @@ INSERT INTO "schema_migrations" (version) VALUES
('20200811074839'), ('20200811074839'),
('20200812090409'), ('20200812090409'),
('20200812125810'); ('20200812125810');