updates
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
"""add_copyright_text_to_page_content
|
||||
|
||||
Revision ID: a1b2c3d4e5f6
|
||||
Revises: ff515d77abbe
|
||||
Create Date: 2025-11-20 16:00:00.000000
|
||||
|
||||
"""
|
||||
from alembic import op
|
||||
import sqlalchemy as sa
|
||||
|
||||
# revision identifiers, used by Alembic.
|
||||
revision = 'a1b2c3d4e5f6'
|
||||
down_revision = '1444eb61188e'
|
||||
branch_labels = None
|
||||
depends_on = None
|
||||
|
||||
|
||||
def upgrade() -> None:
|
||||
# Add copyright_text column to page_contents table
|
||||
op.add_column('page_contents', sa.Column('copyright_text', sa.Text(), nullable=True))
|
||||
|
||||
|
||||
def downgrade() -> None:
|
||||
# Remove copyright_text column from page_contents table
|
||||
op.drop_column('page_contents', 'copyright_text')
|
||||
|
||||
Reference in New Issue
Block a user