Scott Baker | 4815f92 | 2014-09-15 16:05:39 -0700 | [diff] [blame] | 1 | # -*- coding: utf-8 -*- |
| 2 | from __future__ import unicode_literals |
| 3 | |
| 4 | from django.db import models, migrations |
Scott Baker | 3827eb0 | 2014-09-16 12:17:07 -0700 | [diff] [blame] | 5 | import django.utils.timezone |
Scott Baker | 4815f92 | 2014-09-15 16:05:39 -0700 | [diff] [blame] | 6 | |
| 7 | |
| 8 | class Migration(migrations.Migration): |
| 9 | |
| 10 | dependencies = [ |
| 11 | ('core', '0002_omf_friendly_default_false'), |
| 12 | ] |
| 13 | |
| 14 | operations = [ |
| 15 | migrations.CreateModel( |
| 16 | name='NagiosService', |
| 17 | fields=[ |
| 18 | ('service_ptr', models.OneToOneField(parent_link=True, auto_created=True, primary_key=True, serialize=False, to='core.Service')), |
| 19 | ], |
| 20 | options={ |
| 21 | 'verbose_name': 'Nagios Service', |
| 22 | }, |
| 23 | bases=('core.service', models.Model), |
| 24 | ), |
| 25 | ] |