Ticket #2658: pg-mastertickets-types.patch

File pg-mastertickets-types.patch, 0.5 kB (added by mixedpuppy, 2 months ago)

fix table creation to deal with strict types for postgres

  • plugins/masterticketsplugin/mastertickets/db_default.py

    old new  
    77version = 1 
    88tables = [ 
    99    Table('mastertickets', key=('source','dest'))[ 
    10         Column('source'), 
    11         Column('dest'), 
     10        Column('source', type='int'), 
     11        Column('dest', type='int'), 
    1212    ], 
    1313]