2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-04 20:51:00 +00:00

Add metadata model to Company (#3895)

* Add Metadata mixin to Company model

* Add migration file

* Lint

* Fixes due to style

* Syntax error

* Lint

* as this exposes a new endpoint to the API, increment the API version number with a brief description:
This commit is contained in:
miggland
2022-11-03 12:21:16 +01:00
committed by GitHub
parent 278e9cfdc1
commit fe1b8cbfce
4 changed files with 42 additions and 4 deletions

View File

@ -0,0 +1,18 @@
# Generated by Django 3.2.16 on 2022-11-02 17:53
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('company', '0048_auto_20220913_0312'),
]
operations = [
migrations.AddField(
model_name='company',
name='metadata',
field=models.JSONField(blank=True, help_text='JSON metadata field, for use by external plugins', null=True, verbose_name='Plugin Metadata'),
),
]