8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-22 11:23:10 +00:00
re2o/preferences/migrations/0027_jauge.py

29 lines
1 KiB
Python
Raw Normal View History

2017-12-19 20:11:18 +00:00
# -*- coding: utf-8 -*-
# Generated by Django 1.10.7 on 2017-12-16 04:33
from __future__ import unicode_literals
import django.core.validators
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('contenttypes', '0002_remove_content_type_name'),
('preferences', '0026_auto_20171216_0401'),
]
operations = [
migrations.CreateModel(
name='Jauge',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('level_value', models.IntegerField(blank=True, null=True)),
('level_percentage', models.IntegerField(blank=True, null=True, validators=[django.core.validators.MaxValueValidator(100)])),
('comment', models.CharField(max_length=255)),
('objet', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='contenttypes.ContentType')),
],
),
]