Gitiles
Code Review
Sign In
gerrit.hackerspace.pl
/
hscloud
/
70c60feea637143d4a3c14c83f1bfeb988ef7bc4
/
.
/
bgpwtf
/
cccampix
/
verifier
/
model
/
migrations
/
1565806867_pgp_key_state.up.sql
blob: e7d7fd4159432408e8f078758c587345af2861b7 [
file
] [
log
] [
blame
]
ALTER
TABLE
peer_pgp_keys
ADD
COLUMN
state STRING
check
(
state
=
'unchecked'
or
state
=
'unknown'
or
state
=
'known'
)
NOT
NULL
DEFAULT
'unchecked'
;
ALTER
TABLE
peer_pgp_keys
ALTER
COLUMN
state
DROP
DEFAULT
;