mirror of
https://github.com/MrSedan/neuro-reply-bot-reworked.git
synced 2026-01-15 05:59:43 +03:00
Added SQLAlchemy and Alembic to work with Postgres
This commit is contained in:
30
alembic/versions/9de2db27ca6e_initial_migration.py
Normal file
30
alembic/versions/9de2db27ca6e_initial_migration.py
Normal file
@@ -0,0 +1,30 @@
|
||||
"""Initial migration
|
||||
|
||||
Revision ID: 9de2db27ca6e
|
||||
Revises:
|
||||
Create Date: 2023-10-29 01:23:30.890347
|
||||
|
||||
"""
|
||||
from typing import Sequence, Union
|
||||
|
||||
from alembic import op
|
||||
import sqlalchemy as sa
|
||||
|
||||
|
||||
# revision identifiers, used by Alembic.
|
||||
revision: str = '9de2db27ca6e'
|
||||
down_revision: Union[str, None] = None
|
||||
branch_labels: Union[str, Sequence[str], None] = None
|
||||
depends_on: Union[str, Sequence[str], None] = None
|
||||
|
||||
|
||||
def upgrade() -> None:
|
||||
# ### commands auto generated by Alembic - please adjust! ###
|
||||
pass
|
||||
# ### end Alembic commands ###
|
||||
|
||||
|
||||
def downgrade() -> None:
|
||||
# ### commands auto generated by Alembic - please adjust! ###
|
||||
pass
|
||||
# ### end Alembic commands ###
|
||||
Reference in New Issue
Block a user