diff --git a/tubesync/sync/fields.py b/tubesync/sync/fields.py index 0038ab1..e67797f 100644 --- a/tubesync/sync/fields.py +++ b/tubesync/sync/fields.py @@ -49,7 +49,7 @@ class CommaSepChoiceField(models.Field): return name, path, args, kwargs def db_type(self, _connection): - return 'char(1024)' + return 'TextField' def get_my_choices(self): choiceArray = [] diff --git a/tubesync/sync/migrations/0017_alter_source_sponsorblock_categories.py b/tubesync/sync/migrations/0017_alter_source_sponsorblock_categories.py new file mode 100644 index 0000000..cc9d957 --- /dev/null +++ b/tubesync/sync/migrations/0017_alter_source_sponsorblock_categories.py @@ -0,0 +1,19 @@ +# Generated by Django 3.2.18 on 2023-02-20 02:23 + +from django.db import migrations +import sync.fields + + +class Migration(migrations.Migration): + + dependencies = [ + ('sync', '0016_auto_20230214_2052'), + ] + + operations = [ + migrations.AlterField( + model_name='source', + name='sponsorblock_categories', + field=sync.fields.CommaSepChoiceField(default='all', help_text='Select the sponsorblocks you want to enforce', separator=''), + ), + ]