diff options
author | Rob Austein <sra@hactrn.net> | 2014-03-29 22:05:43 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2014-03-29 22:05:43 +0000 |
commit | 1f2bce7fff8eb78a1d6f5a7b7d099d8347bdde62 (patch) | |
tree | 2ceca154fb38b9c007ec1dff3d661737915999f6 /rpkid/upgrade-scripts | |
parent | 21c75a399b429648dddf7cc58da171bab85688a3 (diff) |
Merge rpki-sql-upgrade into rpki-sql-setup. See #671.
svn path=/branches/tk671/; revision=5716
Diffstat (limited to 'rpkid/upgrade-scripts')
-rw-r--r-- | rpkid/upgrade-scripts/upgrade-rpkid-to-0.5709.py (renamed from rpkid/upgrade-scripts/upgrade-to-0.5709.py) | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/rpkid/upgrade-scripts/upgrade-to-0.5709.py b/rpkid/upgrade-scripts/upgrade-rpkid-to-0.5709.py index 06b6295a..aa8e3ec1 100644 --- a/rpkid/upgrade-scripts/upgrade-to-0.5709.py +++ b/rpkid/upgrade-scripts/upgrade-rpkid-to-0.5709.py @@ -17,11 +17,11 @@ """ Upgrade RPKI SQL databases to schema expected by 0.5709. -NB: This code is evaluated in the context of rpki-sql-update and has -access to its global variables. +This code is evaluated in the context of rpki-sql-setup's +do_apply_upgrades() function and has access to its variables. """ -rpkid_db.execute(""" +db.cur.execute(""" CREATE TABLE ee_cert ( ee_cert_id SERIAL NOT NULL, ski BINARY(20) NOT NULL, |