An open source, non-profit web search engine
Add old migrations
Daoud Clarke8c99cd441942
diff --git a/mwmbl/migrations/0005_oldindex.py b/mwmbl/migrations/0005_oldindex.pyindex f7d94d5..40c9c74 100644--- a/mwmbl/migrations/0005_oldindex.py+++ b/mwmbl/migrations/0005_oldindex.py@@ -1,12 +1,10 @@-# Generated by Django 4.2.11 on 2024-03-10 08:12+# Generated by Django 4.2.6 on 2024-03-05 15:16from django.db import migrations, modelsclass Migration(migrations.Migration):- replaces = [('mwmbl', '0005_oldindex'), ('mwmbl', '0006_remove_oldindex_index_total_pages_and_more'), ('mwmbl', '0007_alter_oldindex_last_copied_time_and_more')]-dependencies = [('mwmbl', '0004_curation_original_index_results'),]@@ -16,8 +14,9 @@ class Migration(migrations.Migration):name='OldIndex',fields=[('index_path', models.CharField(max_length=300, primary_key=True, serialize=False)),- ('last_copied_time', models.DateTimeField(blank=True, null=True)),- ('last_page_copied', models.IntegerField(blank=True, null=True)),+ ('index_total_pages', models.IntegerField()),+ ('last_copied_time', models.DateTimeField()),+ ('last_page_copied', models.IntegerField()),],),]diff --git a/mwmbl/migrations/0005_oldindex_squashed.py b/mwmbl/migrations/0005_oldindex_squashed.pynew file mode 100644index 0000000..f7d94d5--- /dev/null+++ b/mwmbl/migrations/0005_oldindex_squashed.py@@ -0,0 +1,23 @@+# Generated by Django 4.2.11 on 2024-03-10 08:12++from django.db import migrations, models+++class Migration(migrations.Migration):++ replaces = [('mwmbl', '0005_oldindex'), ('mwmbl', '0006_remove_oldindex_index_total_pages_and_more'), ('mwmbl', '0007_alter_oldindex_last_copied_time_and_more')]++ dependencies = [+ ('mwmbl', '0004_curation_original_index_results'),+ ]++ operations = [+ migrations.CreateModel(+ name='OldIndex',+ fields=[+ ('index_path', models.CharField(max_length=300, primary_key=True, serialize=False)),+ ('last_copied_time', models.DateTimeField(blank=True, null=True)),+ ('last_page_copied', models.IntegerField(blank=True, null=True)),+ ],+ ),+ ]diff --git a/mwmbl/migrations/0006_remove_oldindex_index_total_pages_and_more.py b/mwmbl/migrations/0006_remove_oldindex_index_total_pages_and_more.pynew file mode 100644index 0000000..e656682--- /dev/null+++ b/mwmbl/migrations/0006_remove_oldindex_index_total_pages_and_more.py@@ -0,0 +1,27 @@+# Generated by Django 4.2.11 on 2024-03-09 06:57++from django.db import migrations, models+++class Migration(migrations.Migration):++ dependencies = [+ ('mwmbl', '0005_oldindex'),+ ]++ operations = [+ migrations.RemoveField(+ model_name='oldindex',+ name='index_total_pages',+ ),+ migrations.AlterField(+ model_name='oldindex',+ name='last_copied_time',+ field=models.DateTimeField(null=True),+ ),+ migrations.AlterField(+ model_name='oldindex',+ name='last_page_copied',+ field=models.IntegerField(null=True),+ ),+ ]diff --git a/mwmbl/migrations/0007_alter_oldindex_last_copied_time_and_more.py b/mwmbl/migrations/0007_alter_oldindex_last_copied_time_and_more.pynew file mode 100644index 0000000..c8e6025--- /dev/null+++ b/mwmbl/migrations/0007_alter_oldindex_last_copied_time_and_more.py@@ -0,0 +1,23 @@+# Generated by Django 4.2.11 on 2024-03-09 17:02++from django.db import migrations, models+++class Migration(migrations.Migration):++ dependencies = [+ ('mwmbl', '0006_remove_oldindex_index_total_pages_and_more'),+ ]++ operations = [+ migrations.AlterField(+ model_name='oldindex',+ name='last_copied_time',+ field=models.DateTimeField(blank=True, null=True),+ ),+ migrations.AlterField(+ model_name='oldindex',+ name='last_page_copied',+ field=models.IntegerField(blank=True, null=True),+ ),+ ]