Volunteer Janitor: Initial duty acquisition.
This commit is contained in:
parent
e43db0535d
commit
03b323c7a1
7 changed files with 149 additions and 6 deletions
|
@ -0,0 +1,28 @@
|
|||
"""Add per-user field for the last usage of the Volunteer page
|
||||
|
||||
Revision ID: d7a4a6723411
|
||||
Revises: b23ec080ecb7
|
||||
Create Date: 2022-11-14 11:24:55.304258+00:00
|
||||
|
||||
"""
|
||||
from alembic import op
|
||||
import sqlalchemy as sa
|
||||
|
||||
|
||||
# revision identifiers, used by Alembic.
|
||||
revision = 'd7a4a6723411'
|
||||
down_revision = 'b23ec080ecb7'
|
||||
branch_labels = None
|
||||
depends_on = None
|
||||
|
||||
|
||||
def upgrade():
|
||||
# ### commands auto generated by Alembic - please adjust! ###
|
||||
op.add_column('users', sa.Column('volunteer_last_started_utc', sa.DateTime(), nullable=True))
|
||||
# ### end Alembic commands ###
|
||||
|
||||
|
||||
def downgrade():
|
||||
# ### commands auto generated by Alembic - please adjust! ###
|
||||
op.drop_column('users', 'volunteer_last_started_utc')
|
||||
# ### end Alembic commands ###
|
Loading…
Add table
Add a link
Reference in a new issue