From 2ce3b86e0ff69538935db3149d1ed2f24aea09a3 Mon Sep 17 00:00:00 2001
From: Ben Burwell <ben@benburwell.com>
Date: Mon, 13 Apr 2020 23:57:13 -0400
Subject: Simplify

---
 .../mysql/20180626224600_create_issued_certs.sql          | 15 ---------------
 1 file changed, 15 deletions(-)
 delete mode 100644 server/store/migrations/mysql/20180626224600_create_issued_certs.sql

(limited to 'server/store/migrations/mysql/20180626224600_create_issued_certs.sql')

diff --git a/server/store/migrations/mysql/20180626224600_create_issued_certs.sql b/server/store/migrations/mysql/20180626224600_create_issued_certs.sql
deleted file mode 100644
index c5b80e0..0000000
--- a/server/store/migrations/mysql/20180626224600_create_issued_certs.sql
+++ /dev/null
@@ -1,15 +0,0 @@
--- +migrate Up
-CREATE TABLE IF NOT EXISTS `issued_certs` (
-  `key_id` varchar(255) NOT NULL,
-  `principals` varchar(255) DEFAULT "[]",
-  `created_at` datetime DEFAULT '1970-01-01 00:00:01',
-  `expires_at` datetime DEFAULT '1970-01-01 00:00:01',
-  `revoked` tinyint(1) DEFAULT 0,
-  `raw_key` text,
-  PRIMARY KEY (`key_id`)
-);
-CREATE INDEX `idx_expires_at` ON `issued_certs` (`expires_at`);
-CREATE INDEX `idx_revoked_expires_at` ON `issued_certs` (`revoked`, `expires_at`);
-
--- +migrate Down
-DROP TABLE `issued_certs`;
-- 
cgit v1.2.3

