[FIX] EMPLOYEE: Fix character length for location in employee work information
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
# Generated by Django 6.0 on 2025-12-20 06:25
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('employee', '0001_initial'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='employeeworkinformation',
|
||||
name='location',
|
||||
field=models.CharField(blank=True, max_length=254, null=True, verbose_name='Work Location'),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='historicalemployeeworkinformation',
|
||||
name='location',
|
||||
field=models.CharField(blank=True, max_length=254, null=True, verbose_name='Work Location'),
|
||||
),
|
||||
]
|
||||
@@ -804,7 +804,7 @@ class EmployeeWorkInformation(models.Model):
|
||||
EmployeeTag, blank=True, verbose_name=_("Employee tag")
|
||||
)
|
||||
location = models.CharField(
|
||||
max_length=50, null=True, blank=True, verbose_name=_("Work Location")
|
||||
max_length=254, null=True, blank=True, verbose_name=_("Work Location")
|
||||
)
|
||||
company_id = models.ForeignKey(
|
||||
Company,
|
||||
|
||||
Reference in New Issue
Block a user