parent
415f70458c
commit
0829a1e246
@ -0,0 +1,23 @@ |
||||
# Generated by Django 5.1 on 2024-11-08 15:40 |
||||
|
||||
from django.db import migrations, models |
||||
|
||||
|
||||
class Migration(migrations.Migration): |
||||
|
||||
dependencies = [ |
||||
('tournaments', '0092_dataaccess'), |
||||
] |
||||
|
||||
operations = [ |
||||
migrations.AddField( |
||||
model_name='modellog', |
||||
name='parent_model_id', |
||||
field=models.UUIDField(null=True), |
||||
), |
||||
migrations.AddField( |
||||
model_name='modellog', |
||||
name='parent_model_name', |
||||
field=models.CharField(max_length=50, null=True), |
||||
), |
||||
] |
||||
@ -0,0 +1,23 @@ |
||||
# Generated by Django 5.1 on 2024-11-08 16:16 |
||||
|
||||
from django.conf import settings |
||||
from django.db import migrations, models |
||||
|
||||
|
||||
class Migration(migrations.Migration): |
||||
|
||||
dependencies = [ |
||||
('tournaments', '0093_modellog_parent_model_id_modellog_parent_model_name'), |
||||
] |
||||
|
||||
operations = [ |
||||
migrations.RemoveField( |
||||
model_name='dataaccess', |
||||
name='shared_with', |
||||
), |
||||
migrations.AddField( |
||||
model_name='dataaccess', |
||||
name='shared_with', |
||||
field=models.ManyToManyField(related_name='shared_data', to=settings.AUTH_USER_MODEL), |
||||
), |
||||
] |
||||
@ -0,0 +1,25 @@ |
||||
# Generated by Django 5.1 on 2024-11-08 16:45 |
||||
|
||||
import django.db.models.deletion |
||||
from django.conf import settings |
||||
from django.db import migrations, models |
||||
|
||||
|
||||
class Migration(migrations.Migration): |
||||
|
||||
dependencies = [ |
||||
('tournaments', '0094_remove_dataaccess_shared_with_dataaccess_shared_with'), |
||||
] |
||||
|
||||
operations = [ |
||||
migrations.RemoveField( |
||||
model_name='dataaccess', |
||||
name='shared_with', |
||||
), |
||||
migrations.AddField( |
||||
model_name='dataaccess', |
||||
name='shared_with', |
||||
field=models.ForeignKey(default=None, on_delete=django.db.models.deletion.CASCADE, related_name='shared_data', to=settings.AUTH_USER_MODEL), |
||||
preserve_default=False, |
||||
), |
||||
] |
||||
@ -0,0 +1,28 @@ |
||||
# Generated by Django 5.1 on 2024-11-08 16:53 |
||||
|
||||
from django.db import migrations, models |
||||
|
||||
|
||||
class Migration(migrations.Migration): |
||||
|
||||
dependencies = [ |
||||
('tournaments', '0095_remove_dataaccess_shared_with_dataaccess_shared_with'), |
||||
] |
||||
|
||||
operations = [ |
||||
migrations.AlterField( |
||||
model_name='modellog', |
||||
name='operation', |
||||
field=models.CharField(choices=[('POST', 'POST'), ('PUT', 'PUT'), ('DELETE', 'DELETE'), ('GRANT_ACCESS', 'GRANT_ACCESS'), ('REVOKE_ACCESS', 'REVOKE_ACCESS')], max_length=50), |
||||
), |
||||
migrations.AlterField( |
||||
model_name='modellog', |
||||
name='parent_model_id', |
||||
field=models.UUIDField(blank=True, null=True), |
||||
), |
||||
migrations.AlterField( |
||||
model_name='modellog', |
||||
name='parent_model_name', |
||||
field=models.CharField(blank=True, max_length=50, null=True), |
||||
), |
||||
] |
||||
Loading…
Reference in new issue