chore: add migration on svg (#5464)
This commit is contained in:
parent
0fbe4c4de2
commit
6d8ba9dfa3
1 changed files with 28 additions and 0 deletions
28
apiserver/plane/db/migrations/0075_alter_fileasset_asset.py
Normal file
28
apiserver/plane/db/migrations/0075_alter_fileasset_asset.py
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
# Generated by Django 4.2.11 on 2024-08-29 09:40
|
||||
|
||||
import django.core.validators
|
||||
from django.db import migrations, models
|
||||
import plane.db.models.asset
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("db", "0074_deploy_board_and_project_issues"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name="fileasset",
|
||||
name="asset",
|
||||
field=models.FileField(
|
||||
upload_to=plane.db.models.asset.get_upload_path,
|
||||
validators=[
|
||||
django.core.validators.FileExtensionValidator(
|
||||
allowed_extensions=["jpg", "jpeg", "png"]
|
||||
),
|
||||
plane.db.models.asset.file_size,
|
||||
],
|
||||
),
|
||||
),
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue