29 lines
782 B
Python
29 lines
782 B
Python
"""init
|
|
|
|
Revision ID: 91bc91a0dfc5
|
|
Revises: 6da5ee6785ff
|
|
Create Date: 2022-09-29 13:47:36.479683
|
|
|
|
"""
|
|
from alembic import op
|
|
import sqlalchemy as sa
|
|
|
|
|
|
# revision identifiers, used by Alembic.
|
|
revision = '91bc91a0dfc5'
|
|
down_revision = '6da5ee6785ff'
|
|
branch_labels = None
|
|
depends_on = None
|
|
|
|
def upgrade():
|
|
# ### commands auto generated by Alembic - please adjust! ###
|
|
op.add_column('entries', sa.Column('creator', sa.Unicode(length=50), nullable=True))
|
|
op.add_column('entries', sa.Column('editor', sa.Unicode(length=50), nullable=True))
|
|
# ### end Alembic commands ###
|
|
|
|
def downgrade():
|
|
# ### commands auto generated by Alembic - please adjust! ###
|
|
op.drop_column('entries', 'editor')
|
|
op.drop_column('entries', 'creator')
|
|
# ### end Alembic commands ###
|