Skip to content

Commit

Permalink
migration file created
Browse files Browse the repository at this point in the history
  • Loading branch information
mathiasag7 committed Oct 13, 2023
1 parent 0d705d9 commit 0000e26
Show file tree
Hide file tree
Showing 3 changed files with 62 additions and 2 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ venv/
ENV/
env.bak/
venv.bak/

# Spyder project settings
.spyderproject
.spyproject
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# Generated by Django 4.2.6 on 2023-10-13 10:19

from django.db import migrations, models
import eav.fields


class Migration(migrations.Migration):

dependencies = [
('eav', '0009_enchance_naming'),
]

operations = [
migrations.AlterField(
model_name='attribute',
name='datatype',
field=eav.fields.EavDatatypeField(
choices=[
('text', 'Texte'),
('date', 'Date'),
('float', 'Nombre décimal'),
('int', 'Entier'),
('bool', 'Vrai / Faux'),
('object', 'Django Object'),
('enum', 'Multiple Choice'),
('json', 'JSON Object'),
('csv', 'Comma-Separated-Value'),
],
max_length=6,
verbose_name='Data Type',
),
),
migrations.AlterField(
model_name='attribute',
name='id',
field=models.BigAutoField(
editable=False, primary_key=True, serialize=False
),
),
migrations.AlterField(
model_name='enumgroup',
name='id',
field=models.BigAutoField(
editable=False, primary_key=True, serialize=False
),
),
migrations.AlterField(
model_name='enumvalue',
name='id',
field=models.BigAutoField(
editable=False, primary_key=True, serialize=False
),
),
migrations.AlterField(
model_name='value',
name='id',
field=models.BigAutoField(
editable=False, primary_key=True, serialize=False
),
),
]
2 changes: 1 addition & 1 deletion tests/test_attributes.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
from django.core.exceptions import ValidationError
from django.test import TestCase
from hypothesis import given, settings
from hypothesis.extra import django
from django.conf import settings as django_settings
from hypothesis import strategies as st
from hypothesis.extra import django
from hypothesis.strategies import just

import eav
Expand Down

0 comments on commit 0000e26

Please sign in to comment.