diff --git a/apiserver/plane/license/migrations/0002_rename_version_instance_current_version_and_more.py b/apiserver/plane/license/migrations/0002_rename_version_instance_current_version_and_more.py index 850f924bf..3cdea7902 100644 --- a/apiserver/plane/license/migrations/0002_rename_version_instance_current_version_and_more.py +++ b/apiserver/plane/license/migrations/0002_rename_version_instance_current_version_and_more.py @@ -14,6 +14,11 @@ class Migration(migrations.Migration): ] operations = [ + migrations.AlterField( + model_name="instance", + name="instance_id", + field=models.CharField(max_length=255, unique=True), + ), migrations.RenameField( model_name="instance", old_name="version", diff --git a/apiserver/plane/license/models/instance.py b/apiserver/plane/license/models/instance.py index 92998e1a8..fa19b4700 100644 --- a/apiserver/plane/license/models/instance.py +++ b/apiserver/plane/license/models/instance.py @@ -19,7 +19,7 @@ class Instance(BaseModel): # General informations instance_name = models.CharField(max_length=255) whitelist_emails = models.TextField(blank=True, null=True) - instance_id = models.CharField(max_length=25, unique=True) + instance_id = models.CharField(max_length=255, unique=True) license_key = models.CharField(max_length=256, null=True, blank=True) current_version = models.CharField(max_length=10) latest_version = models.CharField(max_length=10, null=True, blank=True)