# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.db import models, migrations


class Migration(migrations.Migration):

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='CoverageBoundary',
            fields=[
                ('id', models.IntegerField(primary_key=True, serialize=False)),
                ('admin_level', models.IntegerField()),
                ('name', models.TextField()),
                ('rank', models.IntegerField()),
                ('latest_timestamp', models.DateTimeField()),
                ('oldest_timestamp', models.DateTimeField()),
                ('coverage', models.FloatField()),
                ('original_coverage', models.FloatField()),
                ('total_coverage_gain', models.FloatField()),
                ('polygon', models.TextField()),
                ('bbox', models.TextField()),
                ('parent', models.ForeignKey(to='coverage_score_viewer.CoverageBoundary')),
            ],
            options={
                'db_table': 'coverage_boundary',
            },
            bases=(models.Model,),
        ),
        migrations.CreateModel(
            name='CoverageScore',
            fields=[
                ('id', models.IntegerField(primary_key=True, serialize=False)),
                ('date', models.DateField()),
                ('coverage', models.FloatField()),
                ('coverage_boundary', models.ForeignKey(to='coverage_score_viewer.CoverageBoundary')),
            ],
            options={
            },
            bases=(models.Model,),
        ),
    ]

Add migration script for coverage scores.
Add migration script for coverage scores.
