forked from kodorvan/stcs
39 lines
1.1 KiB
Python
39 lines
1.1 KiB
Python
"""Updated martingale factor
|
|
|
|
Revision ID: 42c66cfe8d4e
|
|
Revises: 45977e9d8558
|
|
Create Date: 2025-09-22 17:17:39.779979
|
|
|
|
"""
|
|
from typing import Sequence, Union
|
|
|
|
from alembic import op
|
|
import sqlalchemy as sa
|
|
|
|
|
|
# revision identifiers, used by Alembic.
|
|
revision: str = '42c66cfe8d4e'
|
|
down_revision: Union[str, Sequence[str], None] = '45977e9d8558'
|
|
branch_labels: Union[str, Sequence[str], None] = None
|
|
depends_on: Union[str, Sequence[str], None] = None
|
|
|
|
|
|
def upgrade() -> None:
|
|
"""Upgrade schema."""
|
|
# ### commands auto generated by Alembic - please adjust! ###
|
|
op.alter_column('user_additional_settings', 'martingale_factor',
|
|
existing_type=sa.INTEGER(),
|
|
type_=sa.Float(),
|
|
existing_nullable=False)
|
|
# ### end Alembic commands ###
|
|
|
|
|
|
def downgrade() -> None:
|
|
"""Downgrade schema."""
|
|
# ### commands auto generated by Alembic - please adjust! ###
|
|
op.alter_column('user_additional_settings', 'martingale_factor',
|
|
existing_type=sa.Float(),
|
|
type_=sa.INTEGER(),
|
|
existing_nullable=False)
|
|
# ### end Alembic commands ###
|