aboutsummaryrefslogtreecommitdiff
path: root/apps/notes/migrations/0002_auto_20181204_0620.py
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2019-05-02 09:36:31 -0500
committerluxagraf <sng@luxagraf.net>2019-05-02 09:36:31 -0500
commit9d73326aad4d9aee61a16f7274819fa93f32dc72 (patch)
tree9cf21f7a514478ef3e1593dd346dad144c37fdea /apps/notes/migrations/0002_auto_20181204_0620.py
parent5b9343d77d8321e44d1ffc60769c651771dc38dd (diff)
migrated to LXC container
Diffstat (limited to 'apps/notes/migrations/0002_auto_20181204_0620.py')
-rw-r--r--apps/notes/migrations/0002_auto_20181204_0620.py42
1 files changed, 0 insertions, 42 deletions
diff --git a/apps/notes/migrations/0002_auto_20181204_0620.py b/apps/notes/migrations/0002_auto_20181204_0620.py
deleted file mode 100644
index e7cb38d..0000000
--- a/apps/notes/migrations/0002_auto_20181204_0620.py
+++ /dev/null
@@ -1,42 +0,0 @@
-# Generated by Django 2.1.2 on 2018-12-04 12:20
-
-from django.conf import settings
-from django.db import migrations, models
-import django.db.models.deletion
-
-
-class Migration(migrations.Migration):
-
- dependencies = [
- migrations.swappable_dependency(settings.AUTH_USER_MODEL),
- ('notes', '0001_initial'),
- ]
-
- operations = [
- migrations.CreateModel(
- name='Tag',
- fields=[
- ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
- ('name', models.CharField(max_length=40)),
- ('slug', models.SlugField(blank=True)),
- ('color_hex', models.CharField(max_length=6)),
- ('date_created', models.DateTimeField(auto_now_add=True)),
- ('date_updated', models.DateTimeField(auto_now=True)),
- ('owner', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
- ('parent', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='parent_tag', to='notes.Tag')),
- ],
- ),
- migrations.AlterModelOptions(
- name='note',
- options={'ordering': ('-date_created', '-date_updated')},
- ),
- migrations.AddField(
- model_name='note',
- name='tagstwo',
- field=models.ManyToManyField(blank=True, to='notes.Tag'),
- ),
- migrations.AlterUniqueTogether(
- name='tag',
- unique_together={('owner', 'name')},
- ),
- ]