gmx metadata and backfill in finaldata
This commit is contained in:
32
alembic/versions/87dcd5929323_gmx.py
Normal file
32
alembic/versions/87dcd5929323_gmx.py
Normal file
@@ -0,0 +1,32 @@
|
||||
"""GMX
|
||||
|
||||
Revision ID: 87dcd5929323
|
||||
Revises: e47d1bca4b3d
|
||||
Create Date: 2025-06-16 16:48:11.177904
|
||||
|
||||
"""
|
||||
from typing import Sequence, Union
|
||||
|
||||
from alembic import op
|
||||
import sqlalchemy as sa
|
||||
import dexorder.database
|
||||
import dexorder.database.column_types
|
||||
|
||||
|
||||
# revision identifiers, used by Alembic.
|
||||
revision: str = '87dcd5929323'
|
||||
down_revision: Union[str, None] = 'e47d1bca4b3d'
|
||||
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! ###
|
||||
op.add_column('token', sa.Column('gmx_synthetic', sa.Boolean(), server_default=sa.text('false'), nullable=False))
|
||||
# ### end Alembic commands ###
|
||||
|
||||
|
||||
def downgrade() -> None:
|
||||
# ### commands auto generated by Alembic - please adjust! ###
|
||||
op.drop_column('token', 'gmx_synthetic')
|
||||
# ### end Alembic commands ###
|
||||
Reference in New Issue
Block a user