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.
32 lines
1.5 KiB
32 lines
1.5 KiB
# Generated by Django 3.0.3 on 2020-05-05 17:41
|
|
|
|
from django.db import migrations, models
|
|
import django.db.models.deletion
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
dependencies = [
|
|
('api', '0005_apptodeveloper_release_file'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='UDIDsyncDeveloper',
|
|
fields=[
|
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('udid', models.CharField(db_index=True, max_length=64, verbose_name='udid唯一标识')),
|
|
('product', models.CharField(blank=True, max_length=64, null=True, verbose_name='产品')),
|
|
('serial', models.CharField(blank=True, max_length=64, null=True, verbose_name='序列号')),
|
|
('version', models.CharField(blank=True, max_length=64, null=True, verbose_name='型号')),
|
|
('created_time', models.DateTimeField(auto_now_add=True, verbose_name='创建时间')),
|
|
('developerid',
|
|
models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='api.AppIOSDeveloperInfo',
|
|
verbose_name='所使用苹果开发者账户')),
|
|
],
|
|
options={
|
|
'verbose_name': 'iOS开发平台同步设备信息',
|
|
'verbose_name_plural': 'iOS开发平台同步设备信息',
|
|
'unique_together': {('udid', 'developerid')},
|
|
},
|
|
),
|
|
]
|
|
|