-
Notifications
You must be signed in to change notification settings - Fork 243
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
dc7b6c2
commit 9575581
Showing
3 changed files
with
34 additions
and
0 deletions.
There are no files selected for viewing
30 changes: 30 additions & 0 deletions
30
alembic/versions/53d0b00fb750_add_non_urban_intersection.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
"""add non_urban_intersection | ||
Revision ID: 53d0b00fb750 | ||
Revises: 11ddb0cff075 | ||
Create Date: 2024-06-16 15:05:30.522542 | ||
""" | ||
|
||
# revision identifiers, used by Alembic. | ||
revision = '53d0b00fb750' | ||
down_revision = '11ddb0cff075' | ||
branch_labels = None | ||
depends_on = None | ||
|
||
from alembic import op | ||
import sqlalchemy as sa | ||
from sqlalchemy.dialects import postgresql | ||
|
||
def upgrade(): | ||
# ### commands auto generated by Alembic - please adjust! ### | ||
op.add_column('involved_markers_hebrew', sa.Column('urban_intersection', sa.Integer(), nullable=True)) | ||
op.add_column('vehicles_markers_hebrew', sa.Column('urban_intersection', sa.Integer(), nullable=True)) | ||
# ### end Alembic commands ### | ||
|
||
|
||
def downgrade(): | ||
# ### commands auto generated by Alembic - please adjust! ### | ||
op.drop_column('vehicles_markers_hebrew', 'urban_intersection') | ||
op.drop_column('involved_markers_hebrew', 'urban_intersection') | ||
# ### end Alembic commands ### |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters