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.
26 lines
820 B
Python
26 lines
820 B
Python
1 week ago
|
# Generated by Django 5.1.5 on 2025-01-21 07:45
|
||
|
|
||
|
from django.db import migrations, models
|
||
|
|
||
|
|
||
|
class Migration(migrations.Migration):
|
||
|
|
||
|
initial = True
|
||
|
|
||
|
dependencies = [
|
||
|
]
|
||
|
|
||
|
operations = [
|
||
|
migrations.CreateModel(
|
||
|
name='Creature',
|
||
|
fields=[
|
||
|
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||
|
('image', models.ImageField(upload_to='creatures')),
|
||
|
('caption', models.CharField(max_length=255)),
|
||
|
('created', models.DateTimeField(auto_now_add=True, verbose_name='date created')),
|
||
|
('updated', models.DateTimeField(auto_now=True, verbose_name='date updated')),
|
||
|
('message', models.TextField(max_length=512)),
|
||
|
],
|
||
|
),
|
||
|
]
|