Files
crmApi/apps/reminder/migrations/0001_initial.py
T
2024-01-22 13:01:42 +03:30

35 lines
1.4 KiB
Python

# Generated by Django 4.2.1 on 2024-01-13 10:31
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
('workspace', '0003_alter_workspace_uuid'),
('cuser', '0005_smsopt'),
]
operations = [
migrations.CreateModel(
name='Reminder',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('created_at', models.DateTimeField(auto_now_add=True)),
('updated_at', models.DateTimeField(auto_now=True)),
('type', models.CharField(choices=[('LE', 'LEAD'), ('UN', 'UNKNOWN'), ('NO', 'NOTE'), ('CU', 'CUSTOMER')], default='UN', max_length=2)),
('id_type', models.PositiveBigIntegerField(blank=True, null=True)),
('datetime', models.DateTimeField()),
('desc', models.CharField(blank=True, max_length=200, null=True)),
('cuser_role', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='cuser.cuserrole')),
('sys_ws', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='workspace.workspace')),
],
options={
'abstract': False,
},
),
]