summaryrefslogtreecommitdiff
path: root/cli/commands
diff options
context:
space:
mode:
Diffstat (limited to 'cli/commands')
-rw-r--r--cli/commands/admin/migrate_to_mysql.py4
1 files changed, 2 insertions, 2 deletions
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 ]