Changeset 836
- Timestamp:
- Aug 3, 2008, 12:53:26 AM (16 years ago)
- Location:
- trunk/packages/sipb-xen-database
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/sipb-xen-database/config.todo
r829 r836 1 1 client/etc/xen/sipb-database: gateway, netmask 2 sipb-xen-database-tables: db uri -
trunk/packages/sipb-xen-database/debian/changelog
r829 r836 1 sipb-xen-database (10.16) unstable; urgency=low 2 3 in sipb-xen-database-tables: 4 * use invirt.database, and take default db uri 5 6 -- Greg Price <price@mit.edu> Sun, 3 Aug 2008 00:51:32 -0400 7 1 8 sipb-xen-database (10.15) unstable; urgency=low 2 9 -
trunk/packages/sipb-xen-database/sipb-xen-database-tables
r241 r836 1 1 #!/usr/bin/env python 2 2 3 from sipb_xen_database import *3 from invirt import database 4 4 import sys 5 5 … … 11 11 usage() 12 12 13 connect('postgres://sipb-xen@/sipb_xen')13 database.connect() 14 14 15 15 if sys.argv[1] == "create": 16 meta.create_all()16 database.meta.create_all() 17 17 elif sys.argv[1] == "drop": 18 meta.drop_all()18 database.meta.drop_all() 19 19 else: 20 20 usage()
Note: See TracChangeset
for help on using the changeset viewer.