From 3af675351bbc1c2a8a652049d12e7b699744d730 Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Sat, 15 May 2021 15:00:45 +0300 Subject: Add unit_received_at and customer_contacted_at fields --- servo/migrations/0003_auto_20210515_1333.py | 43 +++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 servo/migrations/0003_auto_20210515_1333.py (limited to 'servo/migrations') diff --git a/servo/migrations/0003_auto_20210515_1333.py b/servo/migrations/0003_auto_20210515_1333.py new file mode 100644 index 0000000..10d18e4 --- /dev/null +++ b/servo/migrations/0003_auto_20210515_1333.py @@ -0,0 +1,43 @@ +# Generated by Django 3.2.2 on 2021-05-15 11:33 + +from django.db import migrations, models +import servo.defaults + + +class Migration(migrations.Migration): + + dependencies = [ + ('servo', '0002_auto_20210513_0651'), + ] + + operations = [ + migrations.AlterModelOptions( + name='device', + options={'get_latest_by': 'id', 'ordering': ['description']}, + ), + migrations.AddField( + model_name='order', + name='customer_contacted_at', + field=models.DateTimeField(null=True), + ), + migrations.AddField( + model_name='order', + name='unit_received_at', + field=models.DateTimeField(null=True), + ), + migrations.AlterField( + model_name='queue', + name='locations', + field=models.ManyToManyField(help_text='Pick the locations you want this queue to appear in.', null=True, to='servo.Location', verbose_name='locations'), + ), + migrations.AlterField( + model_name='user', + name='locale', + field=models.CharField(choices=[('da_DK.UTF-8', 'Danish'), ('nl_NL.UTF-8', 'Dutch'), ('en_US.UTF-8', 'English'), ('et_EE.UTF-8', 'Estonian'), ('fi_FI.UTF-8', 'Finnish'), ('pl_PL.UTF-8', 'Polish'), ('sv_SE.UTF-8', 'Swedish')], default='da_DK.UTF-8', help_text='Select which language you want to use Servo in.', max_length=32, verbose_name='Language'), + ), + migrations.AlterField( + model_name='user', + name='region', + field=models.CharField(choices=[('da_DK.UTF-8', 'Denmark'), ('et_EE.UTF-8', 'Estonia'), ('fi_FI.UTF-8', 'Finland'), ('nl_NL.UTF-8', 'Netherlands'), ('pl_PL.UTF-8', 'Poland'), ('sv_SE.UTF-8', 'Sweden'), ('en_US.UTF-8', 'United States')], default=servo.defaults.locale, help_text='Affects formatting of numbers, dates and currencies.', max_length=32, verbose_name='region'), + ), + ] -- cgit v1.2.3