From 51cc4c07b2a2b6345b1496baac865f5faf955e7d Mon Sep 17 00:00:00 2001
From: Niall Sheridan <nsheridan@gmail.com>
Date: Fri, 20 Jan 2017 00:52:56 +0000
Subject: Switch from database/sql to sqlx

---
 db/seed.sql | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

(limited to 'db/seed.sql')

diff --git a/db/seed.sql b/db/seed.sql
index cf5e62a..7c438fd 100644
--- a/db/seed.sql
+++ b/db/seed.sql
@@ -4,10 +4,10 @@ USE `certs`;
 
 CREATE TABLE `issued_certs` (
   `key_id` varchar(255) NOT NULL,
-  `principals` varchar(255) DEFAULT NULL,
-  `created_at` datetime DEFAULT NULL,
-  `expires_at` datetime DEFAULT NULL,
-  `revoked` tinyint(1) DEFAULT 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`)
 );
-- 
cgit v1.2.3

