adding initial migrations
[plstackapi.git] / planetstack / cassandra / migrations / 0001_initial.py
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='CassandraService',
16             fields=[
17                 ('service_ptr', models.OneToOneField(parent_link=True, auto_created=True, primary_key=True, serialize=False, to='core.Service')),
18                 ('clusterSize', models.PositiveIntegerField(default=1)),
19                 ('replicationFactor', models.PositiveIntegerField(default=1)),
20             ],
21             options={
22                 'verbose_name': 'Cassandra Service',
23             },
24             bases=('core.service', models.Model),
25         ),
26     ]