28 lines
912 B
Python
28 lines
912 B
Python
# Generated by Django 2.2.7 on 2019-12-09 17:02
|
|
|
|
import colorful.fields
|
|
import datetime
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
initial = True
|
|
|
|
dependencies = [
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='Areas',
|
|
fields=[
|
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('name', models.CharField(max_length=200)),
|
|
('color', colorful.fields.RGBColorField(blank=True, colors=['#FFB900', '#E74856', '#0078D7', '#0099BC', '#7A7574'], default='#0099BC')),
|
|
('desc', models.TextField(blank=True, max_length=3000)),
|
|
('created_area_date', models.DateField(blank=True, default=datetime.date.today)),
|
|
('visible', models.BooleanField(default=True)),
|
|
],
|
|
),
|
|
]
|