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

util/rename: help the rename command

A non-default namespace might need a `define` call.
parent b2deb2dc2372
......@@ -136,6 +136,7 @@ class SeriesServices(object):
def rename_series(engine, serie_map, namespace='tsh'):
from tshistory.schema import tsschema
schema = tsschema(namespace)
schema.define()
reg = schema.registry
with engine.begin() as cn:
......
Supports Markdown
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