Skip to content

Commit

Permalink
fix: initial data
Browse files Browse the repository at this point in the history
  • Loading branch information
prvnbist committed Mar 19, 2021
1 parent 65c7588 commit 6198ebf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions migrations/1615993459364_setup_schemas/up.sql
Original file line number Diff line number Diff line change
Expand Up @@ -4836,7 +4836,7 @@ COMMENT ON COLUMN brands."brand_paymentPartnership"."isActive" IS 'Whether this

CREATE TABLE brands."brand_storeSetting" ( "brandId" integer NOT NULL,
"storeSettingId" integer NOT NULL,
value jsonb,
value jsonb NOT NULL,
"importHistoryId" integer);

COMMENT ON TABLE brands."brand_storeSetting" IS 'This is a many to many table maintaining Ondemand Store setting for available brands.';
Expand All @@ -4863,7 +4863,7 @@ COMMENT ON COLUMN brands."brand_subscriptionStoreSetting".value IS 'This is the

CREATE TABLE brands."storeSetting" ( id integer NOT NULL,
identifier text NOT NULL,
value jsonb NOT NULL,
value jsonb,
type text);

COMMENT ON TABLE brands."storeSetting" IS 'This lists all the available settings for ondemand store.';
Expand Down
7 changes: 3 additions & 4 deletions migrations/1616081626661_setup_initial_data/up.sql
Original file line number Diff line number Diff line change
Expand Up @@ -410,8 +410,8 @@ VALUES (
'/insights',
'https://s3.us-east-2.amazonaws.com/dailykit.org/app_icons/insights.png'
),
(11, 'Editor', '/editor'),
(12, 'Manage Content', '/content');
(11, 'Editor', '/editor',null),
(12, 'Manage Content', '/content',null);
-- APP PERMISSIONS
INSERT INTO settings."appPermission" ("appId", route, title, "fallbackMessage")
VALUES -- Order App
Expand Down Expand Up @@ -879,8 +879,7 @@ VALUES (1, 1, 1),
(9, 1, 9),
(10, 1, 10),
(11, 1, 11),
(12, 1, 12),
;
(12, 1, 12);
-- ROLE PERMISSIONS
INSERT INTO settings."role_appPermission" ("role_appId", "appPermissionId", value)
VALUES (1, 1000, true),
Expand Down

0 comments on commit 6198ebf

Please sign in to comment.