From ea54bbca495c5497a6f3c74a6c44fc843d6bc783 Mon Sep 17 00:00:00 2001 From: pablohashescobar Date: Wed, 8 Nov 2023 12:20:00 +0530 Subject: [PATCH] dev: reset migrations --- .../plane/license/migrations/0001_initial.py | 5 +++- .../0002_instance_last_checked_at.py | 20 ---------------- ...3_instance_is_support_required_and_more.py | 23 ------------------- 3 files changed, 4 insertions(+), 44 deletions(-) delete mode 100644 apiserver/plane/license/migrations/0002_instance_last_checked_at.py delete mode 100644 apiserver/plane/license/migrations/0003_instance_is_support_required_and_more.py diff --git a/apiserver/plane/license/migrations/0001_initial.py b/apiserver/plane/license/migrations/0001_initial.py index 0a4fdc191..f092a6874 100644 --- a/apiserver/plane/license/migrations/0001_initial.py +++ b/apiserver/plane/license/migrations/0001_initial.py @@ -1,4 +1,4 @@ -# Generated by Django 4.2.3 on 2023-10-30 11:26 +# Generated by Django 4.2.5 on 2023-11-08 06:49 from django.conf import settings from django.db import migrations, models @@ -26,6 +26,9 @@ class Migration(migrations.Migration): ('api_key', models.CharField(max_length=16)), ('version', models.CharField(max_length=10)), ('email', models.CharField(max_length=256)), + ('last_checked_at', models.DateTimeField()), + ('is_telemetry_enabled', models.BooleanField(default=True)), + ('is_support_required', models.BooleanField(default=True)), ('created_by', models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='%(class)s_created_by', to=settings.AUTH_USER_MODEL, verbose_name='Created By')), ('updated_by', models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='%(class)s_updated_by', to=settings.AUTH_USER_MODEL, verbose_name='Last Modified By')), ('user', models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='instance_owner', to=settings.AUTH_USER_MODEL)), diff --git a/apiserver/plane/license/migrations/0002_instance_last_checked_at.py b/apiserver/plane/license/migrations/0002_instance_last_checked_at.py deleted file mode 100644 index 3ee6555d4..000000000 --- a/apiserver/plane/license/migrations/0002_instance_last_checked_at.py +++ /dev/null @@ -1,20 +0,0 @@ -# Generated by Django 4.2.3 on 2023-10-30 11:42 - -import datetime -from django.db import migrations, models - - -class Migration(migrations.Migration): - - dependencies = [ - ('license', '0001_initial'), - ] - - operations = [ - migrations.AddField( - model_name='instance', - name='last_checked_at', - field=models.DateTimeField(default=datetime.datetime(2023, 10, 30, 11, 42, 52, 273809, tzinfo=datetime.timezone.utc)), - preserve_default=False, - ), - ] diff --git a/apiserver/plane/license/migrations/0003_instance_is_support_required_and_more.py b/apiserver/plane/license/migrations/0003_instance_is_support_required_and_more.py deleted file mode 100644 index 4720b0ce8..000000000 --- a/apiserver/plane/license/migrations/0003_instance_is_support_required_and_more.py +++ /dev/null @@ -1,23 +0,0 @@ -# Generated by Django 4.2.3 on 2023-10-30 14:22 - -from django.db import migrations, models - - -class Migration(migrations.Migration): - - dependencies = [ - ('license', '0002_instance_last_checked_at'), - ] - - operations = [ - migrations.AddField( - model_name='instance', - name='is_support_required', - field=models.BooleanField(default=True), - ), - migrations.AddField( - model_name='instance', - name='is_telemetry_enabled', - field=models.BooleanField(default=True), - ), - ]