Scott Baker | 4bf4514 | 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 | cab9042 | 2014-09-16 12:17:07 -0700 | [diff] [blame^] | 5 | import django.utils.timezone |
Scott Baker | 4bf4514 | 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='CassandraService', |
| 17 | fields=[ |
| 18 | ('service_ptr', models.OneToOneField(parent_link=True, auto_created=True, primary_key=True, serialize=False, to='core.Service')), |
| 19 | ('clusterSize', models.PositiveIntegerField(default=1)), |
| 20 | ('replicationFactor', models.PositiveIntegerField(default=1)), |
| 21 | ], |
| 22 | options={ |
| 23 | 'verbose_name': 'Cassandra Service', |
| 24 | }, |
| 25 | bases=('core.service', models.Model), |
| 26 | ), |
| 27 | ] |