Update column types and bump version (#1653)

* Add logger import in script.py.mako

* Fix error handling during upgrade in alembic scripts

* Bump version to 0.6.14 in pyproject.toml

* Update column types in credential and api_key models

* Bump version to 0.6.15 in pyproject.toml
This commit is contained in:
Gabriel Luiz Freitas Almeida 2024-04-09 13:57:43 -03:00 committed by Gabriel Luiz Freitas Almeida
commit 243a4e77f0

View file

@ -34,7 +34,7 @@ def upgrade() -> None:
sa.Column("provider", sqlmodel.sql.sqltypes.AutoString(), nullable=True),
sa.Column("user_id", sqlmodel.sql.sqltypes.GUID(), nullable=False),
sa.Column("id", sqlmodel.sql.sqltypes.GUID(), nullable=False),
sa.Column("created_at", sa.DateTime(), nullable=False),
sa.Column("created_at", sqlmodel.sql.sqltypes.DateTime(), nullable=False),
sa.Column("updated_at", sa.DateTime(), nullable=True),
sa.PrimaryKeyConstraint("id"),
)