pwa: add push notifications migration (#31388)
This commit is contained in:
parent
73648052ce
commit
fbcb4eb8c9
|
@ -0,0 +1,26 @@
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
# Generated by Django 1.11.12 on 2019-06-28 08:42
|
||||||
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
import jsonfield.fields
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('pwa', '0005_pwasettings_application_name'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AddField(
|
||||||
|
model_name='pwasettings',
|
||||||
|
name='push_notifications',
|
||||||
|
field=models.BooleanField(default=False, verbose_name='Enable subscription to push notifications'),
|
||||||
|
),
|
||||||
|
migrations.AddField(
|
||||||
|
model_name='pwasettings',
|
||||||
|
name='push_notifications_infos',
|
||||||
|
field=jsonfield.fields.JSONField(blank=True, default=dict),
|
||||||
|
),
|
||||||
|
]
|
Loading…
Reference in New Issue