Fix db flushing for songs

This commit is contained in:
Jon Tibble 2011-01-14 22:17:46 +00:00
parent 2428e9a46a
commit f6a6a7a4fc
1 changed files with 2 additions and 2 deletions

View File

@ -72,7 +72,7 @@ def init_schema(url):
``url`` ``url``
The database to setup The database to setup
""" """
session, metadata = init_db(url) session, metadata = init_db(url, False)
# Definition of the "authors" table # Definition of the "authors" table
authors_table = Table(u'authors', metadata, authors_table = Table(u'authors', metadata,
@ -181,4 +181,4 @@ def init_schema(url):
mapper(Topic, topics_table) mapper(Topic, topics_table)
metadata.create_all(checkfirst=True) metadata.create_all(checkfirst=True)
return session return session