bgpwtf/cccampix/pgpencryptor: implement service
TODO:
* tests
Change-Id: I5d0506542070236a8ee879fcb54bc9518e23b5e3
diff --git a/bgpwtf/cccampix/pgpencryptor/model/migrations/1565567797_init.up.sql b/bgpwtf/cccampix/pgpencryptor/model/migrations/1565567797_init.up.sql
new file mode 100644
index 0000000..d1c6209
--- /dev/null
+++ b/bgpwtf/cccampix/pgpencryptor/model/migrations/1565567797_init.up.sql
@@ -0,0 +1,9 @@
+CREATE TABLE pgp_keys (
+ id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
+ fingerprint STRING NOT NULL,
+ time_created INT NOT NULL,
+ okay BOOL NOT NULL,
+ key_data STRING,
+
+ UNIQUE(fingerprint)
+);