# -*- coding: utf-8 -*-
# Generated by Django 1.10.5 on 2017-02-05 12:39
from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('elasticity', '0006_auto_20170205_1124'),
]
operations = [
migrations.RemoveField(
model_name='elasticity',
name='cluster',
),
migrations.AddField(
model_name='elasticity',
name='cluster_type',
field=models.CharField(choices=[('CASSANDRA39', 'Apache Cassandra 3.9'), ('HBASE', 'Apache HBase 0.98')], default='Apache Cassandra 3.9', max_length=200, verbose_name='NoSQL Database'),
),
migrations.AddField(
model_name='elasticity',
name='init_cluster_size',
field=models.IntegerField(default=2, verbose_name='Initial number of NoSQL nodes'),
),
migrations.AddField(
model_name='elasticity',
name='owner',
field=models.CharField(max_length=200, null=True, verbose_name='DB Owner'),
),
migrations.AlterField(
model_name='nosqlinstance',
name='cluster',
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='elasticity.Elasticity', verbose_name='NoSQL Database Cluster'),
),
migrations.DeleteModel(
name='NoSQLCluster',
),
]