Skip to content

Commit 0c5399c

Browse files
committed
refac
1 parent 584a9a0 commit 0c5399c

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

backend/open_webui/migrations/versions/d4e5f6a7b8c9_add_automation_tables.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,7 @@ def upgrade():
2424
sa.Column('name', sa.Text(), nullable=False),
2525
sa.Column('data', sa.JSON(), nullable=False),
2626
sa.Column('meta', sa.JSON(), nullable=True),
27-
sa.Column(
28-
'is_active',
29-
sa.Boolean(),
30-
nullable=False,
31-
server_default=sa.text('1'),
32-
),
27+
sa.Column('is_active', sa.Boolean(), nullable=False, default=True),
3328
sa.Column('last_run_at', sa.BigInteger(), nullable=True),
3429
sa.Column('next_run_at', sa.BigInteger(), nullable=True),
3530
sa.Column('created_at', sa.BigInteger(), nullable=False),

0 commit comments

Comments
 (0)