Tony Mack | a8242c7 | 2014-12-25 19:17:54 -0500 | [diff] [blame^] | 1 | # -*- coding: utf-8 -*- |
| 2 | from __future__ import unicode_literals |
| 3 | |
| 4 | from django.db import models, migrations |
| 5 | |
| 6 | |
| 7 | class Migration(migrations.Migration): |
| 8 | |
| 9 | dependencies = [ |
| 10 | ('core', '0001_initial'), |
| 11 | ] |
| 12 | |
| 13 | operations = [ |
| 14 | migrations.CreateModel( |
| 15 | name='NagiosService', |
| 16 | fields=[ |
| 17 | ('service_ptr', models.OneToOneField(parent_link=True, auto_created=True, primary_key=True, serialize=False, to='core.Service')), |
| 18 | ], |
| 19 | options={ |
| 20 | 'verbose_name': 'Nagios Service', |
| 21 | }, |
| 22 | bases=('core.service', models.Model), |
| 23 | ), |
| 24 | ] |