Claim resource only temporarily
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
"""add Environment claimed_at
|
||||
"""add Environment claimed_until
|
||||
|
||||
Revision ID: 691b04ecd85e
|
||||
Revises: cfab6c8243cb
|
||||
@@ -18,11 +18,11 @@ depends_on = None
|
||||
|
||||
def upgrade():
|
||||
# ### commands auto generated by Alembic - please adjust! ###
|
||||
op.add_column('environments', sa.Column('claimed_at', sa.TIMESTAMP(timezone=True), nullable=True))
|
||||
op.add_column('environments', sa.Column('claimed_until', sa.TIMESTAMP(timezone=True), nullable=True))
|
||||
# ### end Alembic commands ###
|
||||
|
||||
|
||||
def downgrade():
|
||||
# ### commands auto generated by Alembic - please adjust! ###
|
||||
op.drop_column('environments', 'claimed_at')
|
||||
op.drop_column('environments', 'claimed_until')
|
||||
# ### end Alembic commands ###
|
Reference in New Issue
Block a user