-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(web-security)!: use dedicated table for content security pol…
…icies
- Loading branch information
Showing
39 changed files
with
3,103 additions
and
2,062 deletions.
There are no files selected for viewing
12 changes: 12 additions & 0 deletions
12
.sqlx/query-00d2966ed3dd98071956f41362f4fc998eb869e270b67102da4c081596793148.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
38 changes: 38 additions & 0 deletions
38
.sqlx/query-8c6069bccffcca47c8849ac601fd5ea68041c7f786d621fc17ea2ba6027a29db.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
38 changes: 38 additions & 0 deletions
38
.sqlx/query-a7fec7b4ca406f3243ae717146a385d3e9e4ae94753fe8646a579b6875a733d0.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
12 changes: 12 additions & 0 deletions
12
.sqlx/query-ddb6e56e44c1ec27527df7eed78b6ccfce838ef792f4fe19e50102beb20fe499.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
12 changes: 12 additions & 0 deletions
12
.sqlx/query-de7b3ee5b09a552649e1d29ba9618e451554bc6e8ab85b7152a2dfbcafa29477.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 @@ | ||
-- Create table to store content security policies | ||
CREATE TABLE IF NOT EXISTS user_data_web_security_csp | ||
( | ||
id BLOB PRIMARY KEY, | ||
name TEXT NOT NULL COLLATE NOCASE, | ||
directives BLOB NOT NULL, | ||
created_at INTEGER NOT NULL, | ||
user_id INTEGER NOT NULL REFERENCES users(id) ON DELETE CASCADE, | ||
UNIQUE (name, user_id) | ||
) STRICT; |
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
Oops, something went wrong.