mirror of
https://github.com/StefBuwalda/ProjectIOT.git
synced 2025-10-30 11:19:57 +00:00
34 lines
781 B
Python
34 lines
781 B
Python
"""empty message
|
|
|
|
Revision ID: 7a26306b04df
|
|
Revises:
|
|
Create Date: 2025-04-10 20:56:03.819230
|
|
|
|
"""
|
|
from alembic import op
|
|
import sqlalchemy as sa
|
|
|
|
|
|
# revision identifiers, used by Alembic.
|
|
revision = '7a26306b04df'
|
|
down_revision = None
|
|
branch_labels = None
|
|
depends_on = None
|
|
|
|
|
|
def upgrade():
|
|
# ### commands auto generated by Alembic - please adjust! ###
|
|
op.create_table('plate',
|
|
sa.Column('id', sa.Integer(), nullable=False),
|
|
sa.Column('plate', sa.String(length=40), nullable=False),
|
|
sa.Column('dateLogged', sa.DateTime(), nullable=True),
|
|
sa.PrimaryKeyConstraint('id')
|
|
)
|
|
# ### end Alembic commands ###
|
|
|
|
|
|
def downgrade():
|
|
# ### commands auto generated by Alembic - please adjust! ###
|
|
op.drop_table('plate')
|
|
# ### end Alembic commands ###
|