kwork-poizonstore/account/migrations/0016_alter_user_role.py
phzhik fe24802831 + Bonus system (TODO: spend bonuses)
+ Telegram bot: sign up, sign in, notifications

+ Anonymous users can't see yuan_rate_commission
* Only logged in customers can create/update orders
* Customer info migrated to separate User model
* Renamed legacy fields in serializers
* Cleanup in API classes
2024-04-27 21:29:50 +04:00

19 lines
668 B
Python

# Generated by Django 4.2.2 on 2024-04-23 09:49
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('account', '0015_alter_bonusprogramtransaction_options_and_more'),
]
operations = [
migrations.AlterField(
model_name='user',
name='role',
field=models.CharField(choices=[('admin', 'Администратор'), ('ordermanager', 'Менеджер по заказам'), ('productmanager', 'Менеджер по закупкам'), ('client', 'Клиент')], default='client', editable=False, max_length=30, verbose_name='Роль'),
),
]