Init hacking
This commit is contained in:
31
server/migrations/0001_initial.py
Normal file
31
server/migrations/0001_initial.py
Normal file
@ -0,0 +1,31 @@
|
||||
# Generated by Django 2.2.18 on 2021-02-05 10:22
|
||||
|
||||
from django.db import migrations, models
|
||||
import djangoldp.fields
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
initial = True
|
||||
|
||||
dependencies = [
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='Todo',
|
||||
fields=[
|
||||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('urlid', djangoldp.fields.LDPUrlField(blank=True, null=True, unique=True)),
|
||||
('is_backlink', models.BooleanField(default=False, help_text='set automatically to indicate the Model is a backlink')),
|
||||
('allow_create_backlink', models.BooleanField(default=True, help_text='set to False to disable backlink creation after Model save')),
|
||||
('name', models.CharField(max_length=255)),
|
||||
('deadline', models.DateTimeField()),
|
||||
],
|
||||
options={
|
||||
'abstract': False,
|
||||
'default_permissions': ('add', 'change', 'delete', 'view', 'control'),
|
||||
'depth': 0,
|
||||
},
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user