diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2021-03-23 22:15:24 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2021-03-23 22:15:24 +0100 |
| commit | 5b2eaa8a3bb48fbfb352ae75157d7794ecf79741 (patch) | |
| tree | b6ddfacd12a02b50b7450a637bf4487f87f2aa54 /cli/commands | |
| parent | cc1d0c52e104245f9f1c0d77eb24a5a33800be38 (diff) | |
utf8mb4
Diffstat (limited to 'cli/commands')
| -rw-r--r-- | cli/commands/admin/migrate_to_mysql.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/commands/admin/migrate_to_mysql.py b/cli/commands/admin/migrate_to_mysql.py index 0ad9929..60e92eb 100644 --- a/cli/commands/admin/migrate_to_mysql.py +++ b/cli/commands/admin/migrate_to_mysql.py @@ -52,7 +52,7 @@ def make_sqlite3_base(): def make_base(connection_url): """Make a connection base from a connection URL""" - engine = create_engine(connection_url, encoding="utf-8", pool_recycle=3600) + engine = create_engine(connection_url, encoding="utf8mb4", pool_recycle=3600) Session = sessionmaker(bind=engine) Base = declarative_base() Base.metadata.bind = engine |
