forked from github/plane
[WEB - 1505] chore: alter instance id field (#4676)
* chore: instance id * dev: update to max length
This commit is contained in:
parent
f96e76dbbc
commit
6a00fcc253
@ -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",
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user