bump version, update docs
This commit is contained in:
@ -189,6 +189,8 @@ def run_migrations_offline():
|
|||||||
literal_binds=True,
|
literal_binds=True,
|
||||||
dialect_opts={"paramstyle": "named"},
|
dialect_opts={"paramstyle": "named"},
|
||||||
# if you use UUID field set also this param
|
# if you use UUID field set also this param
|
||||||
|
# the prefix has to match sqlalchemy import name in alembic
|
||||||
|
# that can be set by sqlalchemy_module_prefix option (default 'sa.')
|
||||||
user_module_prefix='sa.'
|
user_module_prefix='sa.'
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -210,6 +212,8 @@ def run_migrations_online():
|
|||||||
connection=connection,
|
connection=connection,
|
||||||
target_metadata=target_metadata,
|
target_metadata=target_metadata,
|
||||||
# if you use UUID field set also this param
|
# if you use UUID field set also this param
|
||||||
|
# the prefix has to match sqlalchemy import name in alembic
|
||||||
|
# that can be set by sqlalchemy_module_prefix option (default 'sa.')
|
||||||
user_module_prefix='sa.'
|
user_module_prefix='sa.'
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@ -1,3 +1,8 @@
|
|||||||
|
# 0.5.5
|
||||||
|
|
||||||
|
* Fix for alembic autogenaration of migration `UUID` columns. It should just produce sqlalchemy `CHAR(32)` or `CHAR(36)`
|
||||||
|
* In order for this to work you have to set user_module_prefix='sa.' (must be equal to sqlalchemy_module_prefix option (default 'sa.'))
|
||||||
|
|
||||||
# 0.5.4
|
# 0.5.4
|
||||||
|
|
||||||
* Allow to pass `uuid_format` (allowed 'hex'(default) or 'string') to `UUID` field to change the format in which it's saved.
|
* Allow to pass `uuid_format` (allowed 'hex'(default) or 'string') to `UUID` field to change the format in which it's saved.
|
||||||
|
|||||||
@ -30,7 +30,7 @@ class UndefinedType: # pragma no cover
|
|||||||
|
|
||||||
Undefined = UndefinedType()
|
Undefined = UndefinedType()
|
||||||
|
|
||||||
__version__ = "0.5.4"
|
__version__ = "0.5.5"
|
||||||
__all__ = [
|
__all__ = [
|
||||||
"Integer",
|
"Integer",
|
||||||
"BigInteger",
|
"BigInteger",
|
||||||
|
|||||||
Reference in New Issue
Block a user