Skip to content

Commit

Permalink
fix: add schema in migration
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladimir Kul'kov committed Mar 13, 2024
1 parent f615b5b commit 4f324e3
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ from typing import Sequence, Union

from alembic import op
import sqlalchemy as sa
import os


# revision identifiers, used by Alembic.
Expand All @@ -17,6 +18,7 @@ down_revision: Union[str, None] = None
branch_labels: Union[str, Sequence[str], None] = None
depends_on: Union[str, Sequence[str], None] = None

DB_SCHEMA = os.environ.get("DB_SCHEMA")

def upgrade() -> None:
# ### commands auto generated by Alembic - please adjust! ###
Expand Down

0 comments on commit 4f324e3

Please sign in to comment.