mirror of
https://github.com/beak-insights/felicity-lims.git
synced 2025-02-24 08:53:00 +08:00
added dashboard trackers
This commit is contained in:
parent
c2aec5bf02
commit
d0d3ccee61
1 changed files with 29 additions and 0 deletions
|
@ -0,0 +1,29 @@
|
||||||
|
"""added sample due_date
|
||||||
|
|
||||||
|
Revision ID: 747fbd6576dc
|
||||||
|
Revises: 17e9b06ef7d3
|
||||||
|
Create Date: 2021-12-04 10:13:00.166997
|
||||||
|
|
||||||
|
"""
|
||||||
|
from alembic import op
|
||||||
|
import sqlalchemy as sa
|
||||||
|
import sqlmodel
|
||||||
|
|
||||||
|
|
||||||
|
# revision identifiers, used by Alembic.
|
||||||
|
revision = '747fbd6576dc'
|
||||||
|
down_revision = '17e9b06ef7d3'
|
||||||
|
branch_labels = None
|
||||||
|
depends_on = None
|
||||||
|
|
||||||
|
|
||||||
|
def upgrade():
|
||||||
|
# ### commands auto generated by Alembic - please adjust! ###
|
||||||
|
op.add_column('sample', sa.Column('due_date', sa.DateTime(), nullable=True))
|
||||||
|
# ### end Alembic commands ###
|
||||||
|
|
||||||
|
|
||||||
|
def downgrade():
|
||||||
|
# ### commands auto generated by Alembic - please adjust! ###
|
||||||
|
op.drop_column('sample', 'due_date')
|
||||||
|
# ### end Alembic commands ###
|
Loading…
Reference in a new issue