Commits

Mike Bayer committed d6716a7

added sequence for oracle support

  • Participants
  • Parent commits 67c0ef1
  • Branches rel_0_4

Comments (0)

Files changed (1)

File test/orm/inheritance/query.py

               )
          
             machines = Table('machines', metadata,
-                Column('machine_id', Integer, primary_key=True),
+                Column('machine_id', Integer, Sequence('machine_id_seq'), primary_key=True),
                 Column('name', String(50)),
                 Column('engineer_id', Integer, ForeignKey('engineers.person_id')))
             
                 )
 
             paperwork = Table('paperwork', metadata,
-                Column('paperwork_id', Integer, primary_key=True),
+                Column('paperwork_id', Integer, Sequence('paperwork_id_seq'), primary_key=True),
                 Column('description', String(50)),
                 Column('person_id', Integer, ForeignKey('people.person_id')))