Gitiles
Code Review
Sign In
gerrit.hackerspace.pl
/
hscloud
/
f157fbfb08d9a0a5f3b825bca4f871a396439369
/
.
/
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
;