4
3
from south.v2 import SchemaMigration
7
6
class Migration(SchemaMigration):
11
10
# Changing field 'TestJob.device_type'
12
11
db.alter_column('lava_scheduler_app_testjob', 'device_type_id', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['lava_scheduler_app.DeviceType'], null=True))
15
13
def backwards(self, orm):
17
15
# User chose to not deal with backwards NULL issues for 'TestJob.device_type'
18
16
raise RuntimeError("Cannot reverse this migration. 'TestJob.device_type' and its values cannot be restored.")
23
20
'Meta': {'object_name': 'Group'},