-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #185 from novaforgood/Max/email-whitelist
Add multiple email domains
- Loading branch information
Showing
10 changed files
with
470 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
hasura/migrations/mentorcenter/1695275297012_add_domain_whitelists/down.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
10 changes: 10 additions & 0 deletions
10
hasura/migrations/mentorcenter/1695275297012_add_domain_whitelists/up.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -664,6 +664,7 @@ query PublicSpaceBySlug($slug: String!) { | |
id | ||
name | ||
domainWhitelist | ||
domainWhitelists | ||
slug | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -664,6 +664,7 @@ query PublicSpaceBySlug($slug: String!) { | |
id | ||
name | ||
domainWhitelist | ||
domainWhitelists | ||
slug | ||
} | ||
} |
Oops, something went wrong.