aboutsummaryrefslogtreecommitdiff
path: root/apps/notes/migrations
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2018-11-19 11:51:46 -0600
committerluxagraf <sng@luxagraf.net>2018-11-19 11:51:46 -0600
commit2ef6414abec4e606d0fd96babc849cc2bde2bb38 (patch)
treedf54a3a0e6d8f1f86a1530394f67087eb97ac34f /apps/notes/migrations
parenta0b95dc2dfb84c682bb8f677e5d471f84e5028fe (diff)
Updated notes to default to private and changed body_markdown to body
Diffstat (limited to 'apps/notes/migrations')
-rw-r--r--apps/notes/migrations/0004_auto_20181117_2039.py27
-rw-r--r--apps/notes/migrations/0005_auto_20181119_1145.py28
2 files changed, 55 insertions, 0 deletions
diff --git a/apps/notes/migrations/0004_auto_20181117_2039.py b/apps/notes/migrations/0004_auto_20181117_2039.py
new file mode 100644
index 0000000..6fc6f2d
--- /dev/null
+++ b/apps/notes/migrations/0004_auto_20181117_2039.py
@@ -0,0 +1,27 @@
+# Generated by Django 2.1.2 on 2018-11-18 02:39
+
+import datetime
+from django.db import migrations, models
+from django.utils.timezone import utc
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('notes', '0003_note_folder'),
+ ]
+
+ operations = [
+ migrations.AddField(
+ model_name='folder',
+ name='date_created',
+ field=models.DateTimeField(blank=True, default=datetime.datetime(2018, 11, 18, 2, 38, 45, 996162, tzinfo=utc), editable=False),
+ preserve_default=False,
+ ),
+ migrations.AddField(
+ model_name='folder',
+ name='date_updated',
+ field=models.DateTimeField(blank=True, default=datetime.datetime(2018, 11, 18, 2, 39, 0, 850658, tzinfo=utc), editable=False),
+ preserve_default=False,
+ ),
+ ]
diff --git a/apps/notes/migrations/0005_auto_20181119_1145.py b/apps/notes/migrations/0005_auto_20181119_1145.py
new file mode 100644
index 0000000..9b6cee7
--- /dev/null
+++ b/apps/notes/migrations/0005_auto_20181119_1145.py
@@ -0,0 +1,28 @@
+# Generated by Django 2.1.2 on 2018-11-19 17:45
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('notes', '0004_auto_20181117_2039'),
+ ]
+
+ operations = [
+ migrations.RenameField(
+ model_name='note',
+ old_name='body_markdown',
+ new_name='body',
+ ),
+ migrations.AddField(
+ model_name='note',
+ name='is_public',
+ field=models.BooleanField(default=False),
+ ),
+ migrations.AddField(
+ model_name='note',
+ name='rendered_body',
+ field=models.TextField(null=True),
+ ),
+ ]