Coverage for opt/mealie/lib/python3.12/site-packages/mealie/alembic/versions/2022-11-03-13.10.24_1923519381ad_renamed_timeline_event_message_and_.py: 90%
10 statements
« prev ^ index » next coverage.py v7.10.6, created at 2025-12-05 14:03 +0000
« prev ^ index » next coverage.py v7.10.6, created at 2025-12-05 14:03 +0000
1"""added recipe last made timestamp
3Revision ID: 1923519381ad
4Revises: 2ea7a807915c
5Create Date: 2022-11-03 13:10:24.811134
7"""
9import sqlalchemy as sa 1a
11from alembic import op 1a
13# revision identifiers, used by Alembic.
14revision = "1923519381ad" 1a
15down_revision = "2ea7a807915c" 1a
16branch_labels: str | tuple[str, ...] | None = None 1a
17depends_on: str | tuple[str, ...] | None = None 1a
20def upgrade(): 1a
21 # ### commands auto generated by Alembic - please adjust! ###
22 op.add_column("recipes", sa.Column("last_made", sa.DateTime(), nullable=True)) 1a
23 # ### end Alembic commands ###
26def downgrade(): 1a
27 # ### commands auto generated by Alembic - please adjust! ###
28 op.drop_column("recipes", "last_made")
29 # ### end Alembic commands ###