Skip to content

Commit

Permalink
[WEB - 1505] chore: alter instance id field (#4676)
Browse files Browse the repository at this point in the history
* chore: instance id

* dev: update to max length
  • Loading branch information
pablohashescobar authored May 31, 2024
1 parent f96e76d commit 6a00fcc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion apiserver/plane/license/models/instance.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 6a00fcc

Please sign in to comment.