From f58ba7296c88ca1c217f0482c18660f701e4a026 Mon Sep 17 00:00:00 2001
From: Matthias Andreas Benkard <code@mail.matthias.benkard.de>
Date: Sat, 16 Jun 2012 17:01:38 +0200
Subject: Permit certificate-based login.

---
 schema.sql | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

(limited to 'schema.sql')

diff --git a/schema.sql b/schema.sql
index ab9abb8..96b53a3 100644
--- a/schema.sql
+++ b/schema.sql
@@ -22,15 +22,15 @@ CREATE TABLE openids(
 );
 
 CREATE TABLE rsa_keys(
-  modulus  VARCHAR   NOT NULL,
-  exponent VARCHAR   NOT NULL,
+  modulus  NUMERIC   NOT NULL,
+  exponent NUMERIC   NOT NULL,
   PRIMARY KEY(modulus, exponent)
 );
 
 CREATE TABLE user_rsa_keys(
   "user"   INTEGER   NOT NULL,
-  modulus  VARCHAR   NOT NULL,
-  exponent VARCHAR   NOT NULL,
+  modulus  NUMERIC   NOT NULL,
+  exponent NUMERIC   NOT NULL,
   PRIMARY KEY("user", modulus, exponent),
   FOREIGN KEY("user") REFERENCES users,
   FOREIGN KEY(modulus, exponent) REFERENCES rsa_keys
-- 
cgit v1.2.3

