-
Notifications
You must be signed in to change notification settings - Fork 170
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature: /dataset/visiblity route to the server to set visibility with
an api key
- Loading branch information
1 parent
8457683
commit ed2c4c0
Showing
7 changed files
with
135 additions
and
18 deletions.
There are no files selected for viewing
5 changes: 3 additions & 2 deletions
5
server/migrations/2024-10-23-220021_public-page-config/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 |
---|---|---|
@@ -1,9 +1,10 @@ | ||
-- Your SQL goes here | ||
CREATE TABLE IF NOT EXISTS public_page_configuration ( | ||
id UUID PRIMARY KEY, | ||
dataset_id UUID NOT NULL REFERENCES datasets(id) ON DELETE CASCADE, | ||
dataset_id UUID NOT NULL UNIQUE REFERENCES datasets(id) ON DELETE CASCADE, | ||
is_public boolean NOT NULL default false, | ||
api_key Text NOT NULL, | ||
created_at TIMESTAMP NOT NULL | ||
created_at TIMESTAMP NOT NULL, | ||
updated_at TIMESTAMP NOT NULL | ||
); | ||
|
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
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
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
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
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
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