36 lines
1.2 KiB
Python
36 lines
1.2 KiB
Python
# Generated by Django 3.2 on 2022-09-15 06:58
|
|
|
|
import django.contrib.auth.models
|
|
from django.db import migrations, models
|
|
import django.db.models.deletion
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
initial = True
|
|
|
|
dependencies = [
|
|
('auth', '0012_alter_user_first_name_max_length'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='Role',
|
|
fields=[
|
|
('group_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to='auth.group')),
|
|
('status', models.IntegerField(default=1)),
|
|
('created_at', models.DateTimeField(auto_now_add=True)),
|
|
('updated_at', models.DateTimeField(auto_now=True)),
|
|
('created_by', models.CharField(blank=True, max_length=255, null=True)),
|
|
('updated_by', models.CharField(blank=True, max_length=255, null=True)),
|
|
],
|
|
options={
|
|
'abstract': False,
|
|
},
|
|
bases=('auth.group', models.Model),
|
|
managers=[
|
|
('objects', django.contrib.auth.models.GroupManager()),
|
|
],
|
|
),
|
|
]
|