# Generated manually

from django.db import migrations

class Migration(migrations.Migration):

    dependencies = [
        ('user_management', '0009_gmailcredential_gmail_email_conversationsummary_and_more'),
    ]

    operations = [
        # 添加name和is_default字段
        migrations.RunSQL(
            sql="""
            ALTER TABLE gmail_credential ADD COLUMN name VARCHAR(100) DEFAULT '默认Gmail' NOT NULL;
            ALTER TABLE gmail_credential ADD COLUMN is_default BOOLEAN DEFAULT FALSE NOT NULL;
            """,
            reverse_sql="""
            ALTER TABLE gmail_credential DROP COLUMN name;
            ALTER TABLE gmail_credential DROP COLUMN is_default;
            """
        )
    ] 