first
This commit is contained in:
commit
d731fb6608
486 files changed
+251018
No files matched your search
@@ -0,0 +1,31 @@
|
||||
# Generated by Django 3.2.10 on 2022-02-01 09:49
|
||||
|
||||
from django.conf import settings
|
||||
from django.db import migrations, models
|
||||
import django.db.models.deletion
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
|
||||
('admin_panel', '0023_alter_article_typepy'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='Action',
|
||||
fields=[
|
||||
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('createdDT', models.DateTimeField(auto_now_add=True)),
|
||||
('changeDT', models.DateTimeField(auto_now=True)),
|
||||
('actionDateTime', models.DateTimeField(blank=True, null=True)),
|
||||
('finishDateTime', models.DateTimeField(blank=True, null=True)),
|
||||
('desc', models.CharField(blank=True, max_length=500, null=True)),
|
||||
('result', models.CharField(blank=True, max_length=500, null=True)),
|
||||
('status', models.CharField(blank=True, max_length=50, null=True)),
|
||||
('customer', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='admin_panel.customer')),
|
||||
('forUser', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to=settings.AUTH_USER_MODEL)),
|
||||
],
|
||||
),
|
||||
]
|
||||
Reference in new issue
Block a user