airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From machris...@apache.org
Subject [airavata-django-portal] 01/03: AIRAVATA-3071 db migration for user_notifications
Date Thu, 11 Jul 2019 16:18:53 GMT
This is an automated email from the ASF dual-hosted git repository.

machristie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airavata-django-portal.git

commit 94bb536dab523dcb78c9d51197def0a8bf87ddbb
Author: Marcus Christie <machristie@apache.org>
AuthorDate: Thu Jul 11 10:46:20 2019 -0400

    AIRAVATA-3071 db migration for user_notifications
---
 .../apps/api/migrations/0002_auto_20190711_1438.py | 28 ++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/django_airavata/apps/api/migrations/0002_auto_20190711_1438.py b/django_airavata/apps/api/migrations/0002_auto_20190711_1438.py
new file mode 100644
index 0000000..8b938a7
--- /dev/null
+++ b/django_airavata/apps/api/migrations/0002_auto_20190711_1438.py
@@ -0,0 +1,28 @@
+# -*- coding: utf-8 -*-
+# Generated by Django 1.11.21 on 2019-07-11 14:38
+from __future__ import unicode_literals
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+    dependencies = [
+        ('django_airavata_api', '0001_squashed_0004_auto_20190625_1938'),
+    ]
+
+    operations = [
+        migrations.CreateModel(
+            name='User_Notifications',
+            fields=[
+                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False,
verbose_name='ID')),
+                ('username', models.CharField(max_length=64)),
+                ('notification_id', models.CharField(max_length=255)),
+                ('is_read', models.BooleanField(default=False)),
+            ],
+        ),
+        migrations.AlterUniqueTogether(
+            name='user_notifications',
+            unique_together=set([('username', 'notification_id')]),
+        ),
+    ]


Mime
View raw message