Initial commit (Clean history)
This commit is contained in:
27
app/migrations/0229_accountctv_rights.py
Normal file
27
app/migrations/0229_accountctv_rights.py
Normal file
@@ -0,0 +1,27 @@
|
||||
# Generated by Django 5.1.7 on 2025-09-05 00:33
|
||||
|
||||
import django.db.models.deletion
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('app', '0228_alter_user_is_admin'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='Accountctv_Rights',
|
||||
fields=[
|
||||
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('create_time', models.DateTimeField(auto_now_add=True, null=True)),
|
||||
('setting', models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, related_name='+', to='app.accountctv_setting')),
|
||||
('user', models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, related_name='+', to='app.user')),
|
||||
],
|
||||
options={
|
||||
'db_table': 'accountctv_rights',
|
||||
'unique_together': {('setting', 'user')},
|
||||
},
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user