mirror of
https://github.com/sartography/protocol-builder-mock.git
synced 2025-01-12 00:34:44 +00:00
Add IRB_ONLINE_STATUS column to irb_info table
This commit is contained in:
parent
454a5c3d59
commit
382152e48a
@ -0,0 +1,24 @@
|
||||
"""Add 'IRB_ONLINE_STATUS' column to IRBInfo table
|
||||
|
||||
Revision ID: fcc193c49110
|
||||
Revises: d6627c76ed75
|
||||
Create Date: 2022-04-07 16:00:36.260246
|
||||
|
||||
"""
|
||||
from alembic import op
|
||||
import sqlalchemy as sa
|
||||
|
||||
|
||||
# revision identifiers, used by Alembic.
|
||||
revision = 'fcc193c49110'
|
||||
down_revision = 'd6627c76ed75'
|
||||
branch_labels = None
|
||||
depends_on = None
|
||||
|
||||
|
||||
def upgrade():
|
||||
op.add_column('irb_info', sa.Column('IRB_ONLINE_STATUS', sa.String(), nullable=True))
|
||||
|
||||
|
||||
def downgrade():
|
||||
op.drop_column('irb_info', 'IRB_ONLINE_STATUS')
|
@ -137,6 +137,7 @@ class IRBInfo(db.Model):
|
||||
IRB_OF_RECORD = db.Column(db.String(), nullable=False, default='')
|
||||
UVA_IRB_HSR_IS_IRB_OF_RECORD_FOR_ALL_SITES = db.Column(db.Integer(), nullable=True)
|
||||
STUDYIRBREVIEWERADMIN = db.Column(db.String(), nullable=False, default='')
|
||||
IRB_ONLINE_STATUS = db.Column(db.String(), nullable=True)
|
||||
|
||||
|
||||
class IRBInfoSchema(ma.Schema):
|
||||
|
Loading…
x
Reference in New Issue
Block a user