TianyiMoe/backend/randpic/migrations/0001_initial.py

26 lines
709 B
Python
Raw Permalink Normal View History

2024-04-30 01:24:02 +00:00
# Generated by Django 5.0.4 on 2024-04-30 01:11
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Picture',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('name', models.CharField(max_length=100)),
('description', models.TextField()),
('author', models.CharField(max_length=100)),
('author_url', models.URLField()),
('original_url', models.URLField()),
],
),
]