1234567891011121314151617181920212223242526272829303132333435 |
- """geo
- Revision ID: d11bbd8ae6d8
- Revises:
- Create Date: 2023-02-27 17:29:51.928140
- """
- from alembic import op
- import sqlalchemy as sa
- # revision identifiers, used by Alembic.
- revision = 'd11bbd8ae6d8'
- down_revision = None
- branch_labels = None
- depends_on = None
- def upgrade():
- # ### commands auto generated by Alembic - please adjust! ###
- op.add_column('object', sa.Column('longitude', sa.String(length=200), nullable=True))
- op.add_column('object', sa.Column('latitude', sa.String(length=200), nullable=True))
- op.add_column('object', sa.Column('object_name', sa.String(length=200), nullable=True))
- # ### end Alembic commands ###
- def downgrade():
- # ### commands auto generated by Alembic - please adjust! ###
- op.drop_column('object', 'object_name')
- op.drop_column('object', 'latitude')
- op.drop_column('object', 'longitude')
- # ### end Alembic commands ###
|