feat: add full project - backend, frontend, docker, specs and configs
This commit is contained in:
parent
b77c7d5a01
commit
e6cb06255b
24489 changed files with 61341 additions and 36 deletions
|
|
@ -0,0 +1,34 @@
|
|||
"""add parking_spots_covered to properties
|
||||
|
||||
Revision ID: e9f0a1b2c3d4
|
||||
Revises: b7c8d9e0f1a2
|
||||
Create Date: 2026-04-14 00:00:00.000000
|
||||
|
||||
"""
|
||||
|
||||
from alembic import op
|
||||
import sqlalchemy as sa
|
||||
|
||||
|
||||
# revision identifiers, used by Alembic.
|
||||
revision = "e9f0a1b2c3d4"
|
||||
down_revision = "b7c8d9e0f1a2"
|
||||
branch_labels = None
|
||||
depends_on = None
|
||||
|
||||
|
||||
def upgrade():
|
||||
with op.batch_alter_table("properties", schema=None) as batch_op:
|
||||
batch_op.add_column(
|
||||
sa.Column(
|
||||
"parking_spots_covered",
|
||||
sa.Integer(),
|
||||
nullable=False,
|
||||
server_default="0",
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
def downgrade():
|
||||
with op.batch_alter_table("properties", schema=None) as batch_op:
|
||||
batch_op.drop_column("parking_spots_covered")
|
||||
Loading…
Add table
Add a link
Reference in a new issue