Ignore:
Timestamp:
Aug 3, 2008, 12:53:26 AM (16 years ago)
Author:
price
Message:

update sipb-xen-database-tables

Location:
trunk/packages/sipb-xen-database
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/sipb-xen-database/config.todo

    r829 r836  
    11client/etc/xen/sipb-database: gateway, netmask
    2 sipb-xen-database-tables: db uri
  • trunk/packages/sipb-xen-database/debian/changelog

    r829 r836  
     1sipb-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
    18sipb-xen-database (10.15) unstable; urgency=low
    29
  • trunk/packages/sipb-xen-database/sipb-xen-database-tables

    r241 r836  
    11#!/usr/bin/env python
    22
    3 from sipb_xen_database import *
     3from invirt import database
    44import sys
    55
     
    1111    usage()
    1212
    13 connect('postgres://sipb-xen@/sipb_xen')
     13database.connect()
    1414
    1515if sys.argv[1] == "create":
    16     meta.create_all()
     16    database.meta.create_all()
    1717elif sys.argv[1] == "drop":
    18     meta.drop_all()
     18    database.meta.drop_all()
    1919else:
    2020    usage()
Note: See TracChangeset for help on using the changeset viewer.