Merge branch 'staging' into environment-role-creation

This commit is contained in:
dandds
2020-02-09 14:24:46 -05:00
29 changed files with 263 additions and 35 deletions

View File

@@ -1,7 +1,7 @@
"""change to environment_roles.cloud_Id
Revision ID: 418b52c1cedf
Revises: 0039308c6351
Revises: 567bfb019a87
Create Date: 2020-02-05 13:40:37.870183
"""
@@ -11,7 +11,7 @@ import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '418b52c1cedf' # pragma: allowlist secret
down_revision = '0039308c6351' # pragma: allowlist secret
down_revision = '567bfb019a87' # pragma: allowlist secret
branch_labels = None
depends_on = None

View File

@@ -0,0 +1,29 @@
"""add last_sent column to clins and pdf_last_sent to task_orders
Revision ID: 567bfb019a87
Revises: 0039308c6351
Create Date: 2020-01-31 14:06:21.926019
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '567bfb019a87' # pragma: allowlist secret
down_revision = '0039308c6351' # pragma: allowlist secret
branch_labels = None
depends_on = None
def upgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.add_column('clins', sa.Column('last_sent_at', sa.DateTime(), nullable=True))
op.add_column('task_orders', sa.Column('pdf_last_sent_at', sa.DateTime(), nullable=True))
# ### end Alembic commands ###
def downgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.drop_column('task_orders', 'pdf_last_sent_at')
op.drop_column('clins', 'last_sent_at')
# ### end Alembic commands ###