-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
85931e5
commit e225c69
Showing
2 changed files
with
4 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
CREATE TABLE upgrade_certificate ( | ||
-- The ID is always set to 0. Setting it explicitly allows us to enforce with every insert or | ||
-- update that there is only a single entry in this table: the latest known state. | ||
id INT PRIMARY KEY, | ||
id bool PRIMARY KEY DEFAULT true, | ||
data BYTEA | ||
); | ||
REVOKE DELETE, TRUNCATE ON upgrade_certificate FROM public; |
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