You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
964 B
Python
28 lines
964 B
Python
# Generated by Django 4.2.5 on 2023-09-09 18:04
|
|
|
|
import colorfield.fields
|
|
from django.conf import settings
|
|
from django.db import migrations, models
|
|
import django.db.models.deletion
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
|
|
('osinacore', '0005_staffprofile_image'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='Note',
|
|
fields=[
|
|
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('text', models.TextField()),
|
|
('date', models.DateTimeField()),
|
|
('color', colorfield.fields.ColorField(default='#FF0000', image_field=None, max_length=25, samples=None)),
|
|
('user', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
|
|
],
|
|
),
|
|
]
|