Skip to content

Commit

Permalink
Changed log_domains object_changes default value
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergei Tsoganov authored and Sergei Tsoganov committed Dec 7, 2022
1 parent 1b1f7ea commit e70be80
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
class ChangeLogDomainsObjectChangesDefaultValue < ActiveRecord::Migration[6.1]
def change
change_column_default :log_domains, :object_changes, nil
end
end
5 changes: 3 additions & 2 deletions db/structure.sql
Original file line number Diff line number Diff line change
Expand Up @@ -1676,7 +1676,7 @@ CREATE TABLE public.log_domains (
session character varying,
children jsonb,
uuid character varying,
object_changes jsonb DEFAULT '"{}"'::jsonb
object_changes jsonb
);


Expand Down Expand Up @@ -5465,6 +5465,7 @@ INSERT INTO "schema_migrations" (version) VALUES
('20221011061840'),
('20221206075912'),
('20221206090120'),
('20221206091556');
('20221206091556'),
('20221207102831');


0 comments on commit e70be80

Please sign in to comment.