oncall-engine/engine/apps/mobile_app/migrations/0010_mobileappusersettings_time_zone.py
Joey Orlando 67393dd2ba
allowing storing/updating time_zone in mobile app user settings table (#2601)
# What this PR does

closes #2450 

## Checklist

- [x] Unit, integration, and e2e (if applicable) tests updated
- [x] Documentation added (or `pr:no public docs` PR label added if not
required)
- [x] `CHANGELOG.md` updated (or `pr:no changelog` PR label added if not
required)
2023-07-20 14:12:54 -04:00

26 lines
779 B
Python

# Generated by Django 3.2.20 on 2023-07-20 14:53
from django.db import migrations, models
from django_add_default_value import AddDefaultValue
class Migration(migrations.Migration):
dependencies = [
('mobile_app', '0009_fcmdevice'),
]
operations = [
migrations.AddField(
model_name='mobileappusersettings',
name='time_zone',
field=models.CharField(default='UTC', max_length=100),
),
# migrations.AddField enforces the default value on the app level, which leads to the issues during release
# adding same default value on the database level
AddDefaultValue(
model_name='mobileappusersettings',
name='time_zone',
value='UTC',
),
]