aboutsummaryrefslogtreecommitdiff
path: root/rpki/sql_schemas.py
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2014-08-06 22:52:28 +0000
committerRob Austein <sra@hactrn.net>2014-08-06 22:52:28 +0000
commit8032686109d62e4dbd8bb2955fbaa7b2bbdcebbb (patch)
tree7e2dfe60edb159d887bfdbde62ff52ca2bdd1394 /rpki/sql_schemas.py
parentcd8becc8460679775f3e7a5ef61046a17bcab3f2 (diff)
Sort out BPKI mess with rootd talking to pubd. Underlying problem is
that smoketest.py uses an obsolete BPKI model which requires different configuration than modern code. Real fix is several different major refactoring jobs (merging rootd into rpkid, merging all three YAML-based test tools...). As usual, not today. svn path=/branches/tk705/; revision=5914
Diffstat (limited to 'rpki/sql_schemas.py')
-rw-r--r--rpki/sql_schemas.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/rpki/sql_schemas.py b/rpki/sql_schemas.py
index ad469204..38ce8fc8 100644
--- a/rpki/sql_schemas.py
+++ b/rpki/sql_schemas.py
@@ -294,7 +294,7 @@ CREATE TABLE session (
session_id SERIAL NOT NULL,
uuid VARCHAR(36) NOT NULL,
serial BIGINT UNSIGNED NOT NULL,
- snapshot TEXT,
+ snapshot LONGTEXT,
hash CHAR(64),
PRIMARY KEY (session_id),
UNIQUE (uuid)
@@ -303,7 +303,7 @@ CREATE TABLE session (
CREATE TABLE delta (
delta_id SERIAL NOT NULL,
serial BIGINT UNSIGNED NOT NULL,
- xml TEXT NOT NULL,
+ xml LONGTEXT NOT NULL,
hash CHAR(64) NOT NULL,
expires DATETIME NOT NULL,
session_id BIGINT UNSIGNED NOT NULL,