Skip to content

Commit

Permalink
actually create the indexes on buildsets in test setup
Browse files Browse the repository at this point in the history
  • Loading branch information
djmitche committed Jan 9, 2012
1 parent ed74f73 commit 6b1eda5
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -44,8 +44,8 @@ def create_tables_thd(self, conn):
sa.Column('results', sa.SmallInteger),
)
self.buildsets.create(bind=conn)
sa.Index('buildsets_complete', self.buildsets.c.complete)
sa.Index('buildsets_submitted_at', self.buildsets.c.submitted_at)
sa.Index('buildsets_complete', self.buildsets.c.complete).create()
sa.Index('buildsets_submitted_at', self.buildsets.c.submitted_at).create()

self.patches = sa.Table('patches', metadata,
sa.Column('id', sa.Integer, primary_key=True),
Expand Down

0 comments on commit 6b1eda5

Please sign in to comment.