From 901beb4df2c074ba54fedc91dd6e780cebe093d1 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Tue, 16 Mar 2021 17:04:54 +0100 Subject: migrate to mysql --- cli/commands/admin/migrate_to_mysql.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cli/commands') diff --git a/cli/commands/admin/migrate_to_mysql.py b/cli/commands/admin/migrate_to_mysql.py index 32ff7cf..0ad9929 100644 --- a/cli/commands/admin/migrate_to_mysql.py +++ b/cli/commands/admin/migrate_to_mysql.py @@ -47,7 +47,7 @@ def make_mysql_base(): def make_sqlite3_base(): """Make a SQLite3 connection""" - connection_url = "sqlite:///{}".format(os.path.join(app_cfg.DIR_DATABASE, 'animism.sqlite3')) + connection_url = "sqlite:///{}".format(os.path.join(app_cfg.DIR_DATABASE, 'swimmer.sqlite3')) return make_base(connection_url) def make_base(connection_url): @@ -117,4 +117,4 @@ def make_classes(Base): created_at = Column(UtcDateTime(), default=utcnow()) updated_at = Column(UtcDateTime(), onupdate=utcnow()) - return [ Upload, Graph, Page, Tile ] + return [ Graph, Page, Tile, Upload ] -- cgit v1.2.3-70-g09d2