mirror of
https://github.com/Findus23/RPGnotes.git
synced 2024-09-20 16:53:44 +02:00
28 lines
964 B
Python
28 lines
964 B
Python
|
# Generated by Django 4.0.5 on 2022-07-03 22:19
|
||
|
|
||
|
from django.conf import settings
|
||
|
from django.db import migrations, models
|
||
|
import django.db.models.deletion
|
||
|
|
||
|
|
||
|
class Migration(migrations.Migration):
|
||
|
|
||
|
initial = True
|
||
|
|
||
|
dependencies = [
|
||
|
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
|
||
|
]
|
||
|
|
||
|
operations = [
|
||
|
migrations.CreateModel(
|
||
|
name='Draft',
|
||
|
fields=[
|
||
|
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||
|
('description_md', models.TextField(blank=True, verbose_name='Description')),
|
||
|
('created', models.DateTimeField(auto_now_add=True)),
|
||
|
('last_modified', models.DateTimeField(auto_now=True)),
|
||
|
('author', models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, related_name='drafts', to=settings.AUTH_USER_MODEL, verbose_name='Player')),
|
||
|
],
|
||
|
),
|
||
|
]
|