mirror of
https://github.com/TrentSPalmer/trentpalmerdotorg.git
synced 2024-11-22 17:31:30 -08:00
32 lines
954 B
Python
32 lines
954 B
Python
# 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,
|
|
},
|
|
),
|
|
]
|