Skip to content

Commit

Permalink
Merge pull request #186 from novaforgood/dev
Browse files Browse the repository at this point in the history
deploy prod
  • Loading branch information
legitmaxwu committed Sep 21, 2023
2 parents 0cdb43a + 4d9458c commit b2ec920
Show file tree
Hide file tree
Showing 10 changed files with 470 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ select_permissions:
permission:
columns:
- deleted
- domainWhitelists
- domainWhitelist
- name
- slug
Expand All @@ -19,4 +20,5 @@ select_permissions:
- slug
- deleted
- domainWhitelist
- domainWhitelists
filter: {}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
-- Could not auto-generate a down migration.
-- Please write an appropriate down migration for the SQL below:
-- DROP VIEW "public"."public_space";
--
-- CREATE OR REPLACE VIEW "public"."public_space" AS
-- SELECT space.id,
-- space.name,
-- space.slug,
-- space.deleted,
-- space.attributes->>'domainWhitelist' as "domainWhitelist",
-- space.attributes->'domainWhitelists' as "domainWhitelists"
-- FROM space;
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
DROP VIEW "public"."public_space";

CREATE OR REPLACE VIEW "public"."public_space" AS
SELECT space.id,
space.name,
space.slug,
space.deleted,
space.attributes->>'domainWhitelist' as "domainWhitelist",
space.attributes->'domainWhitelists' as "domainWhitelists"
FROM space;
1 change: 1 addition & 0 deletions mobile/src/lib/gql/from-shared/hasura.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -664,6 +664,7 @@ query PublicSpaceBySlug($slug: String!) {
id
name
domainWhitelist
domainWhitelists
slug
}
}
1 change: 1 addition & 0 deletions shared/graphql/hasura.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -664,6 +664,7 @@ query PublicSpaceBySlug($slug: String!) {
id
name
domainWhitelist
domainWhitelists
slug
}
}
Loading

1 comment on commit b2ec920

@vercel
Copy link

@vercel vercel bot commented on b2ec920 Sep 21, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.