Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
from django.db import models, migrations
import crash.models
class Migration(migrations.Migration):
dependencies = [
('crash', '0019_auto_20150722_0951'),
]
operations = [
migrations.AlterField(
model_name='symbols',
name='file',
field=models.FileField(null=True, upload_to=crash.models.symbols_upload_to),
),
dependencies = [
('omaha', '0009_auto_20141125_1013'),
('crash', '0001_initial'),
]
operations = [
migrations.CreateModel(
name='Symbols',
fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('created', django_extensions.db.fields.CreationDateTimeField(default=django.utils.timezone.now, verbose_name='created', editable=False, blank=True)),
('modified', django_extensions.db.fields.ModificationDateTimeField(default=django.utils.timezone.now, verbose_name='modified', editable=False, blank=True)),
('debug_id', models.CharField(db_index=True, max_length=33, null=True, verbose_name=b'Debug ID', blank=True)),
('debug_file', models.CharField(max_length=140, null=True, verbose_name=b'Debug file name', blank=True)),
('file', models.FileField(upload_to=crash.models.symbols_upload_to)),
('is_enabled', models.BooleanField(default=False)),
('version', models.ForeignKey(to='omaha.Version')),
],
options={
'ordering': ('-modified', '-created'),
'abstract': False,
'get_latest_by': 'modified',
},
bases=(models.Model,),
),
import crash.models
import omaha_server.utils
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('crash', '0025_set_symbols_size'),
]
operations = [
migrations.AlterField(
model_name='symbols',
name='file',
field=models.FileField(null=True, storage=omaha_server.utils.StorageWithSpaces(), upload_to=crash.models.symbols_upload_to),
),