You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
2.0 KiB
44 lines
2.0 KiB
4 years ago
|
# Generated by Django 3.0.3 on 2021-01-31 19:55
|
||
|
|
||
|
from django.db import migrations, models
|
||
|
import django.db.models.deletion
|
||
|
|
||
|
|
||
|
class Migration(migrations.Migration):
|
||
|
|
||
|
dependencies = [
|
||
|
('api', '0015_auto_20210129_1730'),
|
||
|
]
|
||
|
|
||
|
operations = [
|
||
|
migrations.CreateModel(
|
||
|
name='DeveloperDevicesID',
|
||
|
fields=[
|
||
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||
|
('did', models.CharField(max_length=64)),
|
||
|
('app_id', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='api.Apps', verbose_name='属于哪个APP')),
|
||
|
('developerid', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='api.AppIOSDeveloperInfo', verbose_name='所使用苹果开发者账户')),
|
||
|
('udid', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='api.AppUDID', verbose_name='所消耗的udid')),
|
||
|
],
|
||
|
options={
|
||
|
'verbose_name': '超级签Devices id',
|
||
|
'verbose_name_plural': '超级签Devices id',
|
||
|
'unique_together': {('did', 'developerid', 'app_id')},
|
||
|
},
|
||
|
),
|
||
|
migrations.CreateModel(
|
||
|
name='DeveloperAppID',
|
||
|
fields=[
|
||
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||
|
('aid', models.CharField(max_length=64)),
|
||
|
('app_id', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='api.Apps', verbose_name='属于哪个APP')),
|
||
|
('developerid', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='api.AppIOSDeveloperInfo', verbose_name='所使用苹果开发者账户')),
|
||
|
],
|
||
|
options={
|
||
|
'verbose_name': '超级签APP id',
|
||
|
'verbose_name_plural': '超级签APP id',
|
||
|
'unique_together': {('aid', 'developerid', 'app_id')},
|
||
|
},
|
||
|
),
|
||
|
]
|