29 lines
801 B
Python
29 lines
801 B
Python
"""1_0_3
|
|
|
|
Revision ID: 52ab4930be04
|
|
Revises: ec5fb51fc300
|
|
Create Date: 2023-08-28 13:21:45.152012
|
|
|
|
"""
|
|
from alembic import op
|
|
|
|
# revision identifiers, used by Alembic.
|
|
revision = '52ab4930be04'
|
|
down_revision = 'ec5fb51fc300'
|
|
branch_labels = None
|
|
depends_on = None
|
|
|
|
|
|
def upgrade() -> None:
|
|
# ### commands auto generated by Alembic - please adjust! ###
|
|
op.execute("delete from systemconfig where key = 'RssSites';")
|
|
op.execute("insert into systemconfig(key, value) VALUES('RssSites', (select value from systemconfig where key= 'IndexerSites'));")
|
|
op.execute("delete from systemconfig where key = 'SearchResults';")
|
|
# ### end Alembic commands ###
|
|
|
|
|
|
def downgrade() -> None:
|
|
# ### commands auto generated by Alembic - please adjust! ###
|
|
pass
|
|
# ### end Alembic commands ###
|