From 0c5399ca536446a6a98a6e6b32e1a89900ba9354 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Wed, 1 Apr 2026 18:26:46 -0500 Subject: [PATCH] refac --- .../versions/d4e5f6a7b8c9_add_automation_tables.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/backend/open_webui/migrations/versions/d4e5f6a7b8c9_add_automation_tables.py b/backend/open_webui/migrations/versions/d4e5f6a7b8c9_add_automation_tables.py index 45c6f4336..fc90dc417 100644 --- a/backend/open_webui/migrations/versions/d4e5f6a7b8c9_add_automation_tables.py +++ b/backend/open_webui/migrations/versions/d4e5f6a7b8c9_add_automation_tables.py @@ -24,12 +24,7 @@ def upgrade(): sa.Column('name', sa.Text(), nullable=False), sa.Column('data', sa.JSON(), nullable=False), sa.Column('meta', sa.JSON(), nullable=True), - sa.Column( - 'is_active', - sa.Boolean(), - nullable=False, - server_default=sa.text('1'), - ), + sa.Column('is_active', sa.Boolean(), nullable=False, default=True), sa.Column('last_run_at', sa.BigInteger(), nullable=True), sa.Column('next_run_at', sa.BigInteger(), nullable=True), sa.Column('created_at', sa.BigInteger(), nullable=False),