From eb1184b284ea37cc31556e3598916ac9c3fa6939 Mon Sep 17 00:00:00 2001
From: Niall Sheridan <nsheridan@gmail.com>
Date: Thu, 23 Aug 2018 22:29:46 +0100
Subject: Record request reason in the db instead of logging

---
 server/store/migrations/mysql/20180822204521_add_reason.sql | 5 +++++
 1 file changed, 5 insertions(+)
 create mode 100644 server/store/migrations/mysql/20180822204521_add_reason.sql

(limited to 'server/store/migrations/mysql/20180822204521_add_reason.sql')

diff --git a/server/store/migrations/mysql/20180822204521_add_reason.sql b/server/store/migrations/mysql/20180822204521_add_reason.sql
new file mode 100644
index 0000000..85fdd4d
--- /dev/null
+++ b/server/store/migrations/mysql/20180822204521_add_reason.sql
@@ -0,0 +1,5 @@
+-- +migrate Up
+ALTER TABLE `issued_certs` ADD COLUMN `message` TEXT NOT NULL;
+
+-- +migrate Down
+ALTER TABLE `issued_certs` DROP COLUMN `message`;
\ No newline at end of file
-- 
cgit v1.2.3

