django-eav2/eav/migrations/0005_auto_20210510_1305.py
pre-commit-ci[bot] 6047a9c486
[pre-commit.ci] pre-commit autoupdate (#316)
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/psf/black: 22.12.0 → 23.1.0](https://github.com/psf/black/compare/22.12.0...23.1.0)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-02-06 19:48:54 -08:00

38 lines
1.1 KiB
Python

# Generated by Django 3.2 on 2021-05-10 13:05
from django.db import migrations
import eav.fields
class Migration(migrations.Migration):
dependencies = [
('eav', '0004_alter_value_value_bool'),
]
operations = [
migrations.AddField(
model_name='value',
name='value_csv',
field=eav.fields.CSVField(blank=True, default="", null=True),
),
migrations.AlterField(
model_name='attribute',
name='datatype',
field=eav.fields.EavDatatypeField(
choices=[
('text', 'Text'),
('date', 'Date'),
('float', 'Float'),
('int', 'Integer'),
('bool', 'True / False'),
('object', 'Django Object'),
('enum', 'Multiple Choice'),
('json', 'JSON Object'),
('csv', 'Comma-Separated-Value'),
],
max_length=6,
verbose_name='Data Type',
),
),
]