mirror of
https://github.com/internetee/registry.git
synced 2025-07-21 10:16:01 +02:00
Change log_domains.children
database column's type to jsonb
This commit is contained in:
parent
d45e500e42
commit
6659c597d7
2 changed files with 8 additions and 1 deletions
|
@ -0,0 +1,5 @@
|
|||
class ChangeLogDomainsChildrenTypeToJsonb < ActiveRecord::Migration
|
||||
def change
|
||||
change_column :log_domains, :children, 'jsonb USING children::jsonb'
|
||||
end
|
||||
end
|
|
@ -1466,7 +1466,7 @@ CREATE TABLE public.log_domains (
|
|||
object_changes json,
|
||||
created_at timestamp without time zone,
|
||||
session character varying,
|
||||
children json,
|
||||
children jsonb,
|
||||
uuid character varying
|
||||
);
|
||||
|
||||
|
@ -4792,6 +4792,8 @@ INSERT INTO schema_migrations (version) VALUES ('20190328151516');
|
|||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20190328151838');
|
||||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20190404140234');
|
||||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20190415120246');
|
||||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20190426174225');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue