aboutsummaryrefslogtreecommitdiff
path: root/rpki/sql_schemas.py
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2014-07-17 21:57:36 +0000
committerRob Austein <sra@hactrn.net>2014-07-17 21:57:36 +0000
commite2b9b042765d3e42bf9166d3f7980949a38a70b9 (patch)
treea3bd7edf4f6967865d1e2c3ff9bad1c2be377a93 /rpki/sql_schemas.py
parent8436607494189c48bb26a507ede9cb8b7a9c25d9 (diff)
Publication code mostly just deals with DER and Base64, so defer ASN.1
decode until something asks to look at the object. svn path=/branches/tk705/; revision=5901
Diffstat (limited to 'rpki/sql_schemas.py')
-rw-r--r--rpki/sql_schemas.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpki/sql_schemas.py b/rpki/sql_schemas.py
index 6cb95819..6778ecd9 100644
--- a/rpki/sql_schemas.py
+++ b/rpki/sql_schemas.py
@@ -315,8 +315,8 @@ CREATE TABLE delta (
CREATE TABLE object (
object_id SERIAL NOT NULL,
uri VARCHAR(255) NOT NULL,
+ der LONGBLOB NOT NULL,
hash CHAR(64) NOT NULL,
- payload LONGBLOB NOT NULL,
client_id BIGINT UNSIGNED NOT NULL,
session_id BIGINT UNSIGNED NOT NULL,
PRIMARY KEY (object_id),