make migrations for branch sync_v2

sync_v2
Laurent 5 months ago
parent 6a7f685b14
commit 150d44ad0a
  1. 18
      sync/migrations/0006_alter_modellog_operation.py
  2. 9
      tournaments/migrations/0128_club_data_access_ids_court_data_access_ids_and_more.py

@ -0,0 +1,18 @@
# Generated by Django 5.1 on 2025-06-04 14:07
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('sync', '0005_dataaccess_data_access_ids_alter_modellog_operation'),
]
operations = [
migrations.AlterField(
model_name='modellog',
name='operation',
field=models.CharField(choices=[('POST', 'POST'), ('PUT', 'PUT'), ('DELETE', 'DELETE'), ('SHARED_ACCESS', 'SHARED_ACCESS'), ('REVOKED_ACCESS', 'REVOKED_ACCESS'), ('SHARED_RELATIONSHIP_SET', 'SHARED_RELATIONSHIP_SET'), ('SHARED_RELATIONSHIP_REMOVED', 'SHARED_RELATIONSHIP_REMOVED'), ('RELATIONSHIP_SET', 'RELATIONSHIP_SET'), ('RELATIONSHIP_REMOVED', 'RELATIONSHIP_REMOVED')], max_length=50),
),
]

@ -1,4 +1,4 @@
# Generated by Django 5.1 on 2025-05-23 14:17 # Generated by Django 5.1 on 2025-06-04 14:07
from django.db import migrations, models from django.db import migrations, models
@ -6,7 +6,7 @@ from django.db import migrations, models
class Migration(migrations.Migration): class Migration(migrations.Migration):
dependencies = [ dependencies = [
('tournaments', '0117_playerregistration_user_teamregistration_user_and_more'), ('tournaments', '0127_merge_20250521_1609'),
] ]
operations = [ operations = [
@ -20,6 +20,11 @@ class Migration(migrations.Migration):
name='data_access_ids', name='data_access_ids',
field=models.JSONField(default=list), field=models.JSONField(default=list),
), ),
migrations.AddField(
model_name='customuser',
name='can_synchronize',
field=models.BooleanField(default=False),
),
migrations.AddField( migrations.AddField(
model_name='dateinterval', model_name='dateinterval',
name='data_access_ids', name='data_access_ids',
Loading…
Cancel
Save