27 lines
946 B
Python
27 lines
946 B
Python
# Generated by Django 5.0.2 on 2024-02-28 22:55
|
|
|
|
import colorfield.fields
|
|
import uuid
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('api_v1', '0005_addedInstitutionModel'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='Mood',
|
|
fields=[
|
|
('mood_id', models.UUIDField(default=uuid.uuid4, editable=False, primary_key=True, serialize=False)),
|
|
('name', models.CharField(max_length=30)),
|
|
('description', models.CharField(max_length=150)),
|
|
('color', colorfield.fields.ColorField(default='#FFFFFF', image_field=None, max_length=25, samples=None)),
|
|
('is_available', models.BooleanField(default=True)),
|
|
('is_reliable', models.BooleanField(default=True)),
|
|
('is_going', models.BooleanField(default=False)),
|
|
],
|
|
),
|
|
]
|