This commit is contained in:
Kenneth Kehl
2023-08-29 14:54:30 -07:00
parent 19dcd7a48b
commit 1ecb747c6d
588 changed files with 34100 additions and 23589 deletions

View File

@@ -7,8 +7,8 @@ Create Date: 2016-04-15 12:12:46.383782
"""
# revision identifiers, used by Alembic.
revision = '0002_add_content_char_count'
down_revision = '0001_restart_migrations'
revision = "0002_add_content_char_count"
down_revision = "0001_restart_migrations"
from alembic import op
import sqlalchemy as sa
@@ -17,11 +17,13 @@ from sqlalchemy.sql import table, column
def upgrade():
### commands auto generated by Alembic - please adjust! ###
op.add_column('notifications', sa.Column('content_char_count', sa.Integer(), nullable=True))
op.add_column(
"notifications", sa.Column("content_char_count", sa.Integer(), nullable=True)
)
### end Alembic commands ###
def downgrade():
### commands auto generated by Alembic - please adjust! ###
op.drop_column('notifications', 'content_char_count')
op.drop_column("notifications", "content_char_count")
### end Alembic commands ###