Commit dc610a17 authored by Aurélien Campéas's avatar Aurélien Campéas
Browse files

cli/init-db: fix it

The only untested command is of course broken.
parent b7aae04e6377
......@@ -212,12 +212,6 @@ def init_db(db_uri, reset=False, namespace='tsh'):
"""initialize an new db."""
engine = create_engine(find_dburi(db_uri))
schem = tshistory.schema.tsschema(namespace)
schem.define()
if reset:
assert schem.exists(engine)
schem.destroy(engine)
schem.create(engine)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment