diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2021-03-16 17:04:54 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2021-03-16 17:04:54 +0100 |
| commit | 901beb4df2c074ba54fedc91dd6e780cebe093d1 (patch) | |
| tree | 4c628137716c7025726ada9642e3241172f6699f /cli/commands | |
| parent | 1cfe96ca6ef5c54eadd986c951dade0f56d72440 (diff) | |
migrate to mysql
Diffstat (limited to 'cli/commands')
| -rw-r--r-- | cli/commands/admin/migrate_to_mysql.py | 4 |
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 ] |
