29 lines
1.3 KiB
Python
29 lines
1.3 KiB
Python
# Generated by Django 5.0.2 on 2024-06-25 07:28
|
|
|
|
import django.db.models.deletion
|
|
from django.conf import settings
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('accounts', '0011_alter_iamprincipallocation_principal'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='IAmPrincipalExtendedData',
|
|
fields=[
|
|
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('is_onboarded', models.BooleanField(default=False, help_text='Indicates whether the user was onboarded by an admin.')),
|
|
('is_transferred', models.BooleanField(default=False, help_text='Indicates whether the account has been transferred to the user.')),
|
|
('transferred_on', models.DateTimeField(blank=True, help_text='The date and time when the account was transferred to the user.', null=True)),
|
|
('principal', models.OneToOneField(help_text='The principal user to which this extended data is related.', on_delete=django.db.models.deletion.CASCADE, related_name='extended_data', to=settings.AUTH_USER_MODEL)),
|
|
],
|
|
options={
|
|
'db_table': 'iam_principal_extended_data',
|
|
},
|
|
),
|
|
]
|