trentpalmerdotorg/audio/migrations/0001_initial.py

32 lines
954 B
Python
Raw Normal View History

2021-02-24 20:13:54 -08:00
# Generated by Django 3.1.6 on 2021-02-22 06:44
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
import uuid
class Migration(migrations.Migration):
initial = True
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
]
operations = [
migrations.CreateModel(
name='Feed',
fields=[
('id', models.UUIDField(default=uuid.uuid4, editable=False, primary_key=True, serialize=False)),
('created_on', models.DateTimeField(auto_now_add=True)),
('title', models.CharField(max_length=120)),
('author', models.CharField(max_length=120)),
('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
],
options={
'abstract': False,
},
),
]