Windows installer: payload hash-locking, SBOM, client-IP handling, operator docs
This commit is contained in:
@@ -34,6 +34,14 @@ from typing import Iterable
|
||||
from alembic import context
|
||||
from sqlalchemy import MetaData, pool
|
||||
|
||||
# Registers the compiler hook that forces utf8mb4 + DYNAMIC on MySQL. Imported
|
||||
# for the side effect. It used to live inline in migrations/env.py, so it applied
|
||||
# to the CORE chain only: a plugin's baseline tables were created at the server's
|
||||
# default charset while core's were utf8mb4, on the same database. On a server
|
||||
# defaulting to latin1 that difference is invisible until a join between the two
|
||||
# stops using an index, or a character comes back mangled.
|
||||
import shopdb.utils.mysql_charset # noqa: F401,E402
|
||||
|
||||
logger = logging.getLogger('alembic.env.plugin')
|
||||
|
||||
# Explicit table-ownership map. Adding tables to a plugin requires updating
|
||||
|
||||
Reference in New Issue
Block a user