mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-04-14 10:10:20 +08:00
TODO 后台整理队列
This commit is contained in:
29
database/versions/bf28a012734c_2_0_8.py
Normal file
29
database/versions/bf28a012734c_2_0_8.py
Normal file
@@ -0,0 +1,29 @@
|
||||
"""2.0.8
|
||||
|
||||
Revision ID: bf28a012734c
|
||||
Revises: eaf9cbc49027
|
||||
Create Date: 2024-12-23 18:29:31.202143
|
||||
|
||||
"""
|
||||
import contextlib
|
||||
|
||||
import sqlalchemy as sa
|
||||
from alembic import op
|
||||
|
||||
# revision identifiers, used by Alembic.
|
||||
revision = 'bf28a012734c'
|
||||
down_revision = 'eaf9cbc49027'
|
||||
branch_labels = None
|
||||
depends_on = None
|
||||
|
||||
|
||||
def upgrade() -> None:
|
||||
# ### commands auto generated by Alembic - please adjust! ###
|
||||
# 下载历史记录 增加下载器字段
|
||||
with contextlib.suppress(Exception):
|
||||
op.add_column('downloadhistory', sa.Column('downloader', sa.String(), nullable=True))
|
||||
# ### end Alembic commands ###
|
||||
|
||||
|
||||
def downgrade() -> None:
|
||||
pass
|
||||
Reference in New Issue
Block a user