32 lines
1.2 KiB
Python
32 lines
1.2 KiB
Python
# Generated by Django 4.1.7 on 2023-03-18 10:12
|
|
|
|
import uuid
|
|
|
|
import django.db.models.deletion
|
|
from django.conf import settings
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('core', '0029_alter_requisition_id_alter_wallet_id'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='LinkGroup',
|
|
fields=[
|
|
('id', models.UUIDField(default=uuid.uuid4, editable=False, primary_key=True, serialize=False)),
|
|
('name', models.CharField(max_length=255)),
|
|
('platform_owner_cut_percentage', models.FloatField(default=0)),
|
|
('requisition_owner_cut_percentage', models.FloatField(default=0)),
|
|
('operator_cut_percentage', models.FloatField(default=0)),
|
|
('enabled', models.BooleanField(default=True)),
|
|
('aggregators', models.ManyToManyField(to='core.aggregator')),
|
|
('platforms', models.ManyToManyField(to='core.platform')),
|
|
('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
|
|
],
|
|
),
|
|
]
|