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,
|
||||
},
|
||||
),
|
||||
]
|
17
server/migrations/0002_auto_20210315_1108.py
Normal file
17
server/migrations/0002_auto_20210315_1108.py
Normal file
@ -0,0 +1,17 @@
|
||||
# Generated by Django 2.2.19 on 2021-03-15 10:08
|
||||
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('server', '0001_initial'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterModelOptions(
|
||||
name='todo',
|
||||
options={'default_permissions': ['add', 'change', 'delete', 'view', 'control']},
|
||||
),
|
||||
]
|
16
server/migrations/0003_delete_todo.py
Normal file
16
server/migrations/0003_delete_todo.py
Normal file
@ -0,0 +1,16 @@
|
||||
# Generated by Django 2.2.19 on 2021-03-15 10:12
|
||||
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('server', '0002_auto_20210315_1108'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.DeleteModel(
|
||||
name='Todo',
|
||||
),
|
||||
]
|
0
server/migrations/__init__.py
Normal file
0
server/migrations/__init__.py
Normal file
BIN
server/migrations/__pycache__/0001_initial.cpython-39.pyc
Normal file
BIN
server/migrations/__pycache__/0001_initial.cpython-39.pyc
Normal file
Binary file not shown.
Binary file not shown.
BIN
server/migrations/__pycache__/0003_delete_todo.cpython-39.pyc
Normal file
BIN
server/migrations/__pycache__/0003_delete_todo.cpython-39.pyc
Normal file
Binary file not shown.
BIN
server/migrations/__pycache__/__init__.cpython-39.pyc
Normal file
BIN
server/migrations/__pycache__/__init__.cpython-39.pyc
Normal file
Binary file not shown.
Reference in New Issue
Block a user