From 4fb8879ba0dd8a9f3b1e364a3c7b25cd7274470b Mon Sep 17 00:00:00 2001 From: j Date: Thu, 27 Jul 2023 23:45:37 +0200 Subject: [PATCH] migrate bigint ids --- ...nnotation_findvalue_alter_annotation_id.py | 23 ++++ .../0002_alter_page_id_alter_settings_id.py | 23 ++++ ..._alter_file_id_alter_file_info_and_more.py | 100 ++++++++++++++++++ ...gelog_id_alter_changelog_value_and_more.py | 35 ++++++ pandora/clip/migrations/0004_id_bigint.py | 18 ++++ pandora/document/migrations/0013_id_bigint.py | 55 ++++++++++ ...escription_alter_collection_id_and_more.py | 61 +++++++++++ .../migrations/0006_id_bigint_jsonfield.py | 41 +++++++ ..._alter_documentproperties_data_and_more.py | 50 +++++++++ ...alter_event_end_alter_event_id_and_more.py | 43 ++++++++ ...tem_data_alter_item_id_alter_item_index.py | 30 ++++++ .../0006_id_bigint_jsonfied_and_more.py | 65 ++++++++++++ ...list_description_alter_list_id_and_more.py | 61 +++++++++++ .../0002_alter_log_id_alter_log_url.py | 23 ++++ pandora/news/migrations/0002_alter_news_id.py | 18 ++++ .../person/migrations/0003_alter_person_id.py | 18 ++++ ...ace_countrycode_alter_place_id_and_more.py | 33 ++++++ .../migrations/0002_alter_sequence_mode.py | 18 ++++ ...004_alter_user_first_name_alter_user_id.py | 23 ++++ .../0002_alter_task_id_alter_task_status.py | 23 ++++ ...tion_id_alter_text_description_and_more.py | 43 ++++++++ .../title/migrations/0003_alter_title_id.py | 18 ++++ .../migrations/0003_alter_translation_id.py | 18 ++++ pandora/tv/migrations/0003_id_bigint.py | 23 ++++ pandora/urlalias/migrations/0002_id_bigint.py | 33 ++++++ .../migrations/0005_id_bigint_jsonfield.py | 40 +++++++ 26 files changed, 936 insertions(+) create mode 100644 pandora/annotation/migrations/0004_alter_annotation_findvalue_alter_annotation_id.py create mode 100644 pandora/app/migrations/0002_alter_page_id_alter_settings_id.py create mode 100644 pandora/archive/migrations/0006_alter_file_extension_alter_file_id_alter_file_info_and_more.py create mode 100644 pandora/changelog/migrations/0003_alter_changelog_id_alter_changelog_value_and_more.py create mode 100644 pandora/clip/migrations/0004_id_bigint.py create mode 100644 pandora/document/migrations/0013_id_bigint.py create mode 100644 pandora/documentcollection/migrations/0005_alter_collection_description_alter_collection_id_and_more.py create mode 100644 pandora/edit/migrations/0006_id_bigint_jsonfield.py create mode 100644 pandora/entity/migrations/0007_alter_documentproperties_data_and_more.py create mode 100644 pandora/event/migrations/0004_alter_event_duration_alter_event_end_alter_event_id_and_more.py create mode 100644 pandora/home/migrations/0003_alter_item_data_alter_item_id_alter_item_index.py create mode 100644 pandora/item/migrations/0006_id_bigint_jsonfied_and_more.py create mode 100644 pandora/itemlist/migrations/0004_alter_list_description_alter_list_id_and_more.py create mode 100644 pandora/log/migrations/0002_alter_log_id_alter_log_url.py create mode 100644 pandora/news/migrations/0002_alter_news_id.py create mode 100644 pandora/person/migrations/0003_alter_person_id.py create mode 100644 pandora/place/migrations/0003_alter_place_countrycode_alter_place_id_and_more.py create mode 100644 pandora/sequence/migrations/0002_alter_sequence_mode.py create mode 100644 pandora/system/migrations/0004_alter_user_first_name_alter_user_id.py create mode 100644 pandora/taskqueue/migrations/0002_alter_task_id_alter_task_status.py create mode 100644 pandora/text/migrations/0002_alter_position_id_alter_text_description_and_more.py create mode 100644 pandora/title/migrations/0003_alter_title_id.py create mode 100644 pandora/translation/migrations/0003_alter_translation_id.py create mode 100644 pandora/tv/migrations/0003_id_bigint.py create mode 100644 pandora/urlalias/migrations/0002_id_bigint.py create mode 100644 pandora/user/migrations/0005_id_bigint_jsonfield.py diff --git a/pandora/annotation/migrations/0004_alter_annotation_findvalue_alter_annotation_id.py b/pandora/annotation/migrations/0004_alter_annotation_findvalue_alter_annotation_id.py new file mode 100644 index 000000000..bbf087201 --- /dev/null +++ b/pandora/annotation/migrations/0004_alter_annotation_findvalue_alter_annotation_id.py @@ -0,0 +1,23 @@ +# Generated by Django 4.2.3 on 2023-07-27 21:24 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('annotation', '0003_auto_20160219_1537'), + ] + + operations = [ + migrations.AlterField( + model_name='annotation', + name='findvalue', + field=models.TextField(db_index=True, null=True), + ), + migrations.AlterField( + model_name='annotation', + name='id', + field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'), + ), + ] diff --git a/pandora/app/migrations/0002_alter_page_id_alter_settings_id.py b/pandora/app/migrations/0002_alter_page_id_alter_settings_id.py new file mode 100644 index 000000000..985d04c8e --- /dev/null +++ b/pandora/app/migrations/0002_alter_page_id_alter_settings_id.py @@ -0,0 +1,23 @@ +# Generated by Django 4.2.3 on 2023-07-27 21:24 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('app', '0001_initial'), + ] + + operations = [ + migrations.AlterField( + model_name='page', + name='id', + field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'), + ), + migrations.AlterField( + model_name='settings', + name='id', + field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'), + ), + ] diff --git a/pandora/archive/migrations/0006_alter_file_extension_alter_file_id_alter_file_info_and_more.py b/pandora/archive/migrations/0006_alter_file_extension_alter_file_id_alter_file_info_and_more.py new file mode 100644 index 000000000..a890a3b9a --- /dev/null +++ b/pandora/archive/migrations/0006_alter_file_extension_alter_file_id_alter_file_info_and_more.py @@ -0,0 +1,100 @@ +# Generated by Django 4.2.3 on 2023-07-27 21:24 + +import django.core.serializers.json +from django.db import migrations, models +import oxdjango.fields + + +class Migration(migrations.Migration): + + dependencies = [ + ('archive', '0005_auto_20180804_1554'), + ] + + operations = [ + migrations.AlterField( + model_name='file', + name='extension', + field=models.CharField(default='', max_length=255, null=True), + ), + migrations.AlterField( + model_name='file', + name='id', + field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'), + ), + migrations.AlterField( + model_name='file', + name='info', + field=oxdjango.fields.JSONField(default=dict, editable=False, encoder=django.core.serializers.json.DjangoJSONEncoder), + ), + migrations.AlterField( + model_name='file', + name='language', + field=models.CharField(default='', max_length=255, null=True), + ), + migrations.AlterField( + model_name='file', + name='part', + field=models.CharField(default='', max_length=255, null=True), + ), + migrations.AlterField( + model_name='file', + name='part_title', + field=models.CharField(default='', max_length=255, null=True), + ), + migrations.AlterField( + model_name='file', + name='path', + field=models.CharField(default='', max_length=2048), + ), + migrations.AlterField( + model_name='file', + name='sort_path', + field=models.CharField(default='', max_length=2048), + ), + migrations.AlterField( + model_name='file', + name='type', + field=models.CharField(default='', max_length=255), + ), + migrations.AlterField( + model_name='file', + name='version', + field=models.CharField(default='', max_length=255, null=True), + ), + migrations.AlterField( + model_name='frame', + name='id', + field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'), + ), + migrations.AlterField( + model_name='instance', + name='id', + field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'), + ), + migrations.AlterField( + model_name='stream', + name='error', + field=models.TextField(blank=True, default=''), + ), + migrations.AlterField( + model_name='stream', + name='format', + field=models.CharField(default='webm', max_length=255), + ), + migrations.AlterField( + model_name='stream', + name='id', + field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'), + ), + migrations.AlterField( + model_name='stream', + name='info', + field=oxdjango.fields.JSONField(default=dict, editable=False, encoder=django.core.serializers.json.DjangoJSONEncoder), + ), + migrations.AlterField( + model_name='volume', + name='id', + field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'), + ), + ] diff --git a/pandora/changelog/migrations/0003_alter_changelog_id_alter_changelog_value_and_more.py b/pandora/changelog/migrations/0003_alter_changelog_id_alter_changelog_value_and_more.py new file mode 100644 index 000000000..e8aacfaa5 --- /dev/null +++ b/pandora/changelog/migrations/0003_alter_changelog_id_alter_changelog_value_and_more.py @@ -0,0 +1,35 @@ +# Generated by Django 4.2.3 on 2023-07-27 21:24 + +import django.core.serializers.json +from django.db import migrations, models +import oxdjango.fields + + +class Migration(migrations.Migration): + + dependencies = [ + ('changelog', '0002_jsonfield'), + ] + + operations = [ + migrations.AlterField( + model_name='changelog', + name='id', + field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'), + ), + migrations.AlterField( + model_name='changelog', + name='value', + field=oxdjango.fields.JSONField(default=dict, editable=False, encoder=django.core.serializers.json.DjangoJSONEncoder), + ), + migrations.AlterField( + model_name='log', + name='data', + field=oxdjango.fields.JSONField(default=dict, editable=False, encoder=django.core.serializers.json.DjangoJSONEncoder), + ), + migrations.AlterField( + model_name='log', + name='id', + field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'), + ), + ] diff --git a/pandora/clip/migrations/0004_id_bigint.py b/pandora/clip/migrations/0004_id_bigint.py new file mode 100644 index 000000000..b0415b967 --- /dev/null +++ b/pandora/clip/migrations/0004_id_bigint.py @@ -0,0 +1,18 @@ +# Generated by Django 4.2.3 on 2023-07-27 21:24 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('clip', '0003_auto_20160219_1805'), + ] + + operations = [ + migrations.AlterField( + model_name='clip', + name='id', + field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'), + ), + ] diff --git a/pandora/document/migrations/0013_id_bigint.py b/pandora/document/migrations/0013_id_bigint.py new file mode 100644 index 000000000..09dd44ed4 --- /dev/null +++ b/pandora/document/migrations/0013_id_bigint.py @@ -0,0 +1,55 @@ +# Generated by Django 4.2.3 on 2023-07-27 21:24 + +import django.core.serializers.json +from django.db import migrations, models +import oxdjango.fields + + +class Migration(migrations.Migration): + + dependencies = [ + ('document', '0012_auto_20200513_0001'), + ] + + operations = [ + migrations.AlterField( + model_name='access', + name='id', + field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'), + ), + migrations.AlterField( + model_name='document', + name='data', + field=oxdjango.fields.JSONField(default=dict, editable=False, encoder=django.core.serializers.json.DjangoJSONEncoder), + ), + migrations.AlterField( + model_name='document', + name='id', + field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'), + ), + migrations.AlterField( + model_name='facet', + name='id', + field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'), + ), + migrations.AlterField( + model_name='find', + name='id', + field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'), + ), + migrations.AlterField( + model_name='itemproperties', + name='description', + field=models.TextField(default=''), + ), + migrations.AlterField( + model_name='itemproperties', + name='id', + field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'), + ), + migrations.AlterField( + model_name='page', + name='id', + field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'), + ), + ] diff --git a/pandora/documentcollection/migrations/0005_alter_collection_description_alter_collection_id_and_more.py b/pandora/documentcollection/migrations/0005_alter_collection_description_alter_collection_id_and_more.py new file mode 100644 index 000000000..72155308b --- /dev/null +++ b/pandora/documentcollection/migrations/0005_alter_collection_description_alter_collection_id_and_more.py @@ -0,0 +1,61 @@ +# Generated by Django 4.2.3 on 2023-07-27 21:28 + +import django.core.serializers.json +from django.db import migrations, models +import documentcollection.models +import oxdjango.fields + + +class Migration(migrations.Migration): + + dependencies = [ + ('documentcollection', '0004_jsonfield'), + ] + + operations = [ + migrations.AlterField( + model_name='collection', + name='description', + field=models.TextField(default=''), + ), + migrations.AlterField( + model_name='collection', + name='id', + field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'), + ), + migrations.AlterField( + model_name='collection', + name='poster_frames', + field=oxdjango.fields.JSONField(default=list, editable=False, encoder=django.core.serializers.json.DjangoJSONEncoder), + ), + migrations.AlterField( + model_name='collection', + name='query', + field=oxdjango.fields.JSONField(default=documentcollection.models.default_query, editable=False, encoder=django.core.serializers.json.DjangoJSONEncoder), + ), + migrations.AlterField( + model_name='collection', + name='sort', + field=oxdjango.fields.JSONField(default=documentcollection.models.get_collectionsort, editable=False, encoder=django.core.serializers.json.DjangoJSONEncoder), + ), + migrations.AlterField( + model_name='collection', + name='status', + field=models.CharField(default='private', max_length=20), + ), + migrations.AlterField( + model_name='collection', + name='type', + field=models.CharField(default='static', max_length=255), + ), + migrations.AlterField( + model_name='collectiondocument', + name='id', + field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'), + ), + migrations.AlterField( + model_name='position', + name='id', + field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'), + ), + ] diff --git a/pandora/edit/migrations/0006_id_bigint_jsonfield.py b/pandora/edit/migrations/0006_id_bigint_jsonfield.py new file mode 100644 index 000000000..a2e58e5c4 --- /dev/null +++ b/pandora/edit/migrations/0006_id_bigint_jsonfield.py @@ -0,0 +1,41 @@ +# Generated by Django 4.2.3 on 2023-07-27 21:28 + +import django.core.serializers.json +from django.db import migrations, models +import edit.models +import oxdjango.fields + + +class Migration(migrations.Migration): + + dependencies = [ + ('edit', '0005_jsonfield'), + ] + + operations = [ + migrations.AlterField( + model_name='clip', + name='id', + field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'), + ), + migrations.AlterField( + model_name='edit', + name='id', + field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'), + ), + migrations.AlterField( + model_name='edit', + name='poster_frames', + field=oxdjango.fields.JSONField(default=list, editable=False, encoder=django.core.serializers.json.DjangoJSONEncoder), + ), + migrations.AlterField( + model_name='edit', + name='query', + field=oxdjango.fields.JSONField(default=edit.models.default_query, editable=False, encoder=django.core.serializers.json.DjangoJSONEncoder), + ), + migrations.AlterField( + model_name='position', + name='id', + field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'), + ), + ] diff --git a/pandora/entity/migrations/0007_alter_documentproperties_data_and_more.py b/pandora/entity/migrations/0007_alter_documentproperties_data_and_more.py new file mode 100644 index 000000000..83d9c0bda --- /dev/null +++ b/pandora/entity/migrations/0007_alter_documentproperties_data_and_more.py @@ -0,0 +1,50 @@ +# Generated by Django 4.2.3 on 2023-07-27 21:28 + +import django.core.serializers.json +from django.db import migrations, models +import oxdjango.fields + + +class Migration(migrations.Migration): + + dependencies = [ + ('entity', '0006_auto_20180918_0903'), + ] + + operations = [ + migrations.AlterField( + model_name='documentproperties', + name='data', + field=oxdjango.fields.JSONField(default=dict, editable=False, encoder=django.core.serializers.json.DjangoJSONEncoder), + ), + migrations.AlterField( + model_name='documentproperties', + name='id', + field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'), + ), + migrations.AlterField( + model_name='entity', + name='data', + field=oxdjango.fields.JSONField(default=dict, editable=False, encoder=django.core.serializers.json.DjangoJSONEncoder), + ), + migrations.AlterField( + model_name='entity', + name='id', + field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'), + ), + migrations.AlterField( + model_name='entity', + name='name_find', + field=models.TextField(default=''), + ), + migrations.AlterField( + model_name='find', + name='id', + field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'), + ), + migrations.AlterField( + model_name='link', + name='id', + field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'), + ), + ] diff --git a/pandora/event/migrations/0004_alter_event_duration_alter_event_end_alter_event_id_and_more.py b/pandora/event/migrations/0004_alter_event_duration_alter_event_end_alter_event_id_and_more.py new file mode 100644 index 000000000..7d422113c --- /dev/null +++ b/pandora/event/migrations/0004_alter_event_duration_alter_event_end_alter_event_id_and_more.py @@ -0,0 +1,43 @@ +# Generated by Django 4.2.3 on 2023-07-27 21:28 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('event', '0003_auto_20160304_1644'), + ] + + operations = [ + migrations.AlterField( + model_name='event', + name='duration', + field=models.CharField(default='', max_length=255), + ), + migrations.AlterField( + model_name='event', + name='end', + field=models.CharField(default='', max_length=255), + ), + migrations.AlterField( + model_name='event', + name='id', + field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'), + ), + migrations.AlterField( + model_name='event', + name='name_find', + field=models.TextField(default=''), + ), + migrations.AlterField( + model_name='event', + name='start', + field=models.CharField(default='', max_length=255), + ), + migrations.AlterField( + model_name='event', + name='type', + field=models.CharField(default='', max_length=255), + ), + ] diff --git a/pandora/home/migrations/0003_alter_item_data_alter_item_id_alter_item_index.py b/pandora/home/migrations/0003_alter_item_data_alter_item_id_alter_item_index.py new file mode 100644 index 000000000..84328309f --- /dev/null +++ b/pandora/home/migrations/0003_alter_item_data_alter_item_id_alter_item_index.py @@ -0,0 +1,30 @@ +# Generated by Django 4.2.3 on 2023-07-27 21:28 + +import django.core.serializers.json +from django.db import migrations, models +import oxdjango.fields + + +class Migration(migrations.Migration): + + dependencies = [ + ('home', '0002_jsonfield'), + ] + + operations = [ + migrations.AlterField( + model_name='item', + name='data', + field=oxdjango.fields.JSONField(default=dict, editable=False, encoder=django.core.serializers.json.DjangoJSONEncoder), + ), + migrations.AlterField( + model_name='item', + name='id', + field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'), + ), + migrations.AlterField( + model_name='item', + name='index', + field=models.IntegerField(default=-1), + ), + ] diff --git a/pandora/item/migrations/0006_id_bigint_jsonfied_and_more.py b/pandora/item/migrations/0006_id_bigint_jsonfied_and_more.py new file mode 100644 index 000000000..dd85858e3 --- /dev/null +++ b/pandora/item/migrations/0006_id_bigint_jsonfied_and_more.py @@ -0,0 +1,65 @@ +# Generated by Django 4.2.3 on 2023-07-27 21:28 + +import django.core.serializers.json +from django.db import migrations, models +import oxdjango.fields + + +class Migration(migrations.Migration): + + dependencies = [ + ('item', '0005_auto_20230710_0852'), + ] + + operations = [ + migrations.AlterField( + model_name='access', + name='id', + field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'), + ), + migrations.AlterField( + model_name='annotationsequence', + name='id', + field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'), + ), + migrations.AlterField( + model_name='description', + name='id', + field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'), + ), + migrations.AlterField( + model_name='facet', + name='id', + field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'), + ), + migrations.AlterField( + model_name='item', + name='cache', + field=oxdjango.fields.JSONField(default=dict, editable=False, encoder=django.core.serializers.json.DjangoJSONEncoder), + ), + migrations.AlterField( + model_name='item', + name='data', + field=oxdjango.fields.JSONField(default=dict, editable=False, encoder=django.core.serializers.json.DjangoJSONEncoder), + ), + migrations.AlterField( + model_name='item', + name='external_data', + field=oxdjango.fields.JSONField(default=dict, editable=False, encoder=django.core.serializers.json.DjangoJSONEncoder), + ), + migrations.AlterField( + model_name='item', + name='id', + field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'), + ), + migrations.AlterField( + model_name='item', + name='stream_info', + field=oxdjango.fields.JSONField(default=dict, editable=False, encoder=django.core.serializers.json.DjangoJSONEncoder), + ), + migrations.AlterField( + model_name='itemfind', + name='id', + field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'), + ), + ] diff --git a/pandora/itemlist/migrations/0004_alter_list_description_alter_list_id_and_more.py b/pandora/itemlist/migrations/0004_alter_list_description_alter_list_id_and_more.py new file mode 100644 index 000000000..f4f04ebf8 --- /dev/null +++ b/pandora/itemlist/migrations/0004_alter_list_description_alter_list_id_and_more.py @@ -0,0 +1,61 @@ +# Generated by Django 4.2.3 on 2023-07-27 21:28 + +import django.core.serializers.json +from django.db import migrations, models +import itemlist.models +import oxdjango.fields + + +class Migration(migrations.Migration): + + dependencies = [ + ('itemlist', '0003_jsonfield'), + ] + + operations = [ + migrations.AlterField( + model_name='list', + name='description', + field=models.TextField(default=''), + ), + migrations.AlterField( + model_name='list', + name='id', + field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'), + ), + migrations.AlterField( + model_name='list', + name='poster_frames', + field=oxdjango.fields.JSONField(default=list, editable=False, encoder=django.core.serializers.json.DjangoJSONEncoder), + ), + migrations.AlterField( + model_name='list', + name='query', + field=oxdjango.fields.JSONField(default=itemlist.models.default_query, editable=False, encoder=django.core.serializers.json.DjangoJSONEncoder), + ), + migrations.AlterField( + model_name='list', + name='sort', + field=oxdjango.fields.JSONField(default=itemlist.models.get_listsort, editable=False, encoder=django.core.serializers.json.DjangoJSONEncoder), + ), + migrations.AlterField( + model_name='list', + name='status', + field=models.CharField(default='private', max_length=20), + ), + migrations.AlterField( + model_name='list', + name='type', + field=models.CharField(default='static', max_length=255), + ), + migrations.AlterField( + model_name='listitem', + name='id', + field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'), + ), + migrations.AlterField( + model_name='position', + name='id', + field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'), + ), + ] diff --git a/pandora/log/migrations/0002_alter_log_id_alter_log_url.py b/pandora/log/migrations/0002_alter_log_id_alter_log_url.py new file mode 100644 index 000000000..4fe906450 --- /dev/null +++ b/pandora/log/migrations/0002_alter_log_id_alter_log_url.py @@ -0,0 +1,23 @@ +# Generated by Django 4.2.3 on 2023-07-27 21:28 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('log', '0001_initial'), + ] + + operations = [ + migrations.AlterField( + model_name='log', + name='id', + field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'), + ), + migrations.AlterField( + model_name='log', + name='url', + field=models.CharField(default='', max_length=1000), + ), + ] diff --git a/pandora/news/migrations/0002_alter_news_id.py b/pandora/news/migrations/0002_alter_news_id.py new file mode 100644 index 000000000..06cfafd2c --- /dev/null +++ b/pandora/news/migrations/0002_alter_news_id.py @@ -0,0 +1,18 @@ +# Generated by Django 4.2.3 on 2023-07-27 21:28 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('news', '0001_initial'), + ] + + operations = [ + migrations.AlterField( + model_name='news', + name='id', + field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'), + ), + ] diff --git a/pandora/person/migrations/0003_alter_person_id.py b/pandora/person/migrations/0003_alter_person_id.py new file mode 100644 index 000000000..36e5f691d --- /dev/null +++ b/pandora/person/migrations/0003_alter_person_id.py @@ -0,0 +1,18 @@ +# Generated by Django 4.2.3 on 2023-07-27 21:28 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('person', '0002_auto_20190723_1446'), + ] + + operations = [ + migrations.AlterField( + model_name='person', + name='id', + field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'), + ), + ] diff --git a/pandora/place/migrations/0003_alter_place_countrycode_alter_place_id_and_more.py b/pandora/place/migrations/0003_alter_place_countrycode_alter_place_id_and_more.py new file mode 100644 index 000000000..66a7c3550 --- /dev/null +++ b/pandora/place/migrations/0003_alter_place_countrycode_alter_place_id_and_more.py @@ -0,0 +1,33 @@ +# Generated by Django 4.2.3 on 2023-07-27 21:28 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('place', '0002_auto_20160304_1644'), + ] + + operations = [ + migrations.AlterField( + model_name='place', + name='countryCode', + field=models.CharField(db_index=True, default='', max_length=16), + ), + migrations.AlterField( + model_name='place', + name='id', + field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'), + ), + migrations.AlterField( + model_name='place', + name='name_find', + field=models.TextField(default='', editable=False), + ), + migrations.AlterField( + model_name='place', + name='type', + field=models.CharField(db_index=True, default='', max_length=1000), + ), + ] diff --git a/pandora/sequence/migrations/0002_alter_sequence_mode.py b/pandora/sequence/migrations/0002_alter_sequence_mode.py new file mode 100644 index 000000000..06ce99db0 --- /dev/null +++ b/pandora/sequence/migrations/0002_alter_sequence_mode.py @@ -0,0 +1,18 @@ +# Generated by Django 4.2.3 on 2023-07-27 21:28 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('sequence', '0001_initial'), + ] + + operations = [ + migrations.AlterField( + model_name='sequence', + name='mode', + field=models.IntegerField(choices=[(0, 'shape'), (1, 'color')], default=0), + ), + ] diff --git a/pandora/system/migrations/0004_alter_user_first_name_alter_user_id.py b/pandora/system/migrations/0004_alter_user_first_name_alter_user_id.py new file mode 100644 index 000000000..06f57e296 --- /dev/null +++ b/pandora/system/migrations/0004_alter_user_first_name_alter_user_id.py @@ -0,0 +1,23 @@ +# Generated by Django 4.2.3 on 2023-07-27 21:28 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('system', '0003_field_length'), + ] + + operations = [ + migrations.AlterField( + model_name='user', + name='first_name', + field=models.CharField(blank=True, max_length=150, verbose_name='first name'), + ), + migrations.AlterField( + model_name='user', + name='id', + field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'), + ), + ] diff --git a/pandora/taskqueue/migrations/0002_alter_task_id_alter_task_status.py b/pandora/taskqueue/migrations/0002_alter_task_id_alter_task_status.py new file mode 100644 index 000000000..636274624 --- /dev/null +++ b/pandora/taskqueue/migrations/0002_alter_task_id_alter_task_status.py @@ -0,0 +1,23 @@ +# Generated by Django 4.2.3 on 2023-07-27 21:28 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('taskqueue', '0001_initial'), + ] + + operations = [ + migrations.AlterField( + model_name='task', + name='id', + field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'), + ), + migrations.AlterField( + model_name='task', + name='status', + field=models.CharField(default='unknown', max_length=32), + ), + ] diff --git a/pandora/text/migrations/0002_alter_position_id_alter_text_description_and_more.py b/pandora/text/migrations/0002_alter_position_id_alter_text_description_and_more.py new file mode 100644 index 000000000..d77e3220e --- /dev/null +++ b/pandora/text/migrations/0002_alter_position_id_alter_text_description_and_more.py @@ -0,0 +1,43 @@ +# Generated by Django 4.2.3 on 2023-07-27 21:28 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('text', '0001_initial'), + ] + + operations = [ + migrations.AlterField( + model_name='position', + name='id', + field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'), + ), + migrations.AlterField( + model_name='text', + name='description', + field=models.TextField(default=''), + ), + migrations.AlterField( + model_name='text', + name='id', + field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'), + ), + migrations.AlterField( + model_name='text', + name='status', + field=models.CharField(default='private', max_length=20), + ), + migrations.AlterField( + model_name='text', + name='text', + field=models.TextField(default=''), + ), + migrations.AlterField( + model_name='text', + name='type', + field=models.CharField(default='html', max_length=255), + ), + ] diff --git a/pandora/title/migrations/0003_alter_title_id.py b/pandora/title/migrations/0003_alter_title_id.py new file mode 100644 index 000000000..dec185420 --- /dev/null +++ b/pandora/title/migrations/0003_alter_title_id.py @@ -0,0 +1,18 @@ +# Generated by Django 4.2.3 on 2023-07-27 21:28 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('title', '0002_auto_20190723_1446'), + ] + + operations = [ + migrations.AlterField( + model_name='title', + name='id', + field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'), + ), + ] diff --git a/pandora/translation/migrations/0003_alter_translation_id.py b/pandora/translation/migrations/0003_alter_translation_id.py new file mode 100644 index 000000000..4daa151c4 --- /dev/null +++ b/pandora/translation/migrations/0003_alter_translation_id.py @@ -0,0 +1,18 @@ +# Generated by Django 4.2.3 on 2023-07-27 21:28 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('translation', '0002_translation_type'), + ] + + operations = [ + migrations.AlterField( + model_name='translation', + name='id', + field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'), + ), + ] diff --git a/pandora/tv/migrations/0003_id_bigint.py b/pandora/tv/migrations/0003_id_bigint.py new file mode 100644 index 000000000..08bc4cd1a --- /dev/null +++ b/pandora/tv/migrations/0003_id_bigint.py @@ -0,0 +1,23 @@ +# Generated by Django 4.2.3 on 2023-07-27 21:28 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('tv', '0002_auto_20160219_1734'), + ] + + operations = [ + migrations.AlterField( + model_name='channel', + name='id', + field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'), + ), + migrations.AlterField( + model_name='program', + name='id', + field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'), + ), + ] diff --git a/pandora/urlalias/migrations/0002_id_bigint.py b/pandora/urlalias/migrations/0002_id_bigint.py new file mode 100644 index 000000000..0b979d0dd --- /dev/null +++ b/pandora/urlalias/migrations/0002_id_bigint.py @@ -0,0 +1,33 @@ +# Generated by Django 4.2.3 on 2023-07-27 21:28 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('urlalias', '0001_initial'), + ] + + operations = [ + migrations.AlterField( + model_name='alias', + name='id', + field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'), + ), + migrations.AlterField( + model_name='idalias', + name='id', + field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'), + ), + migrations.AlterField( + model_name='layeralias', + name='id', + field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'), + ), + migrations.AlterField( + model_name='listalias', + name='id', + field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'), + ), + ] diff --git a/pandora/user/migrations/0005_id_bigint_jsonfield.py b/pandora/user/migrations/0005_id_bigint_jsonfield.py new file mode 100644 index 000000000..b164e3875 --- /dev/null +++ b/pandora/user/migrations/0005_id_bigint_jsonfield.py @@ -0,0 +1,40 @@ +# Generated by Django 4.2.3 on 2023-07-27 21:28 + +import django.core.serializers.json +from django.db import migrations, models +import oxdjango.fields + + +class Migration(migrations.Migration): + + dependencies = [ + ('user', '0004_jsonfield'), + ] + + operations = [ + migrations.AlterField( + model_name='sessiondata', + name='info', + field=oxdjango.fields.JSONField(default=dict, editable=False, encoder=django.core.serializers.json.DjangoJSONEncoder), + ), + migrations.AlterField( + model_name='userprofile', + name='id', + field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'), + ), + migrations.AlterField( + model_name='userprofile', + name='notes', + field=models.TextField(default=''), + ), + migrations.AlterField( + model_name='userprofile', + name='preferences', + field=oxdjango.fields.JSONField(default=dict, editable=False, encoder=django.core.serializers.json.DjangoJSONEncoder), + ), + migrations.AlterField( + model_name='userprofile', + name='ui', + field=oxdjango.fields.JSONField(default=dict, editable=False, encoder=django.core.serializers.json.DjangoJSONEncoder), + ), + ]