<filename>src/ralph/configuration_management/migrations/0001_initial.py
# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('assets', '0026_auto_20170510_0840'),
    ]

    operations = [
        migrations.CreateModel(
            name='SCMStatusCheck',
            fields=[
                ('id', models.AutoField(auto_created=True, verbose_name='ID', serialize=False, primary_key=True)),
                ('created', models.DateTimeField(verbose_name='date created', auto_now_add=True)),
                ('modified', models.DateTimeField(verbose_name='last modified', auto_now=True)),
                ('last_checked', models.DateTimeField(verbose_name='Last SCM check')),
                ('check_result', models.PositiveIntegerField(choices=[(1, 'OK'), (2, 'Check failed'), (3, 'Error')], verbose_name='SCM check result')),
                ('base_object', models.OneToOneField(to='assets.BaseObject')),
            ],
            options={
                'abstract': False,
            },
        ),
    ]

<filename>src/ralph/configuration_management/migrations/0001_initial.py
# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('assets', '0026_auto_20170510_0840'),
    ]

    operations = [
        migrations.CreateModel(
            name='SCMStatusCheck',
            fields=[
                ('id', models.AutoField(auto_created=True, verbose_name='ID', serialize=False, primary_key=True)),
                ('created', models.DateTimeField(verbose_name='date created', auto_now_add=True)),
                ('modified', models.DateTimeField(verbose_name='last modified', auto_now=True)),
                ('last_checked', models.DateTimeField(verbose_name='Last SCM check')),
                ('check_result', models.PositiveIntegerField(choices=[(1, 'OK'), (2, 'Check failed'), (3, 'Error')], verbose_name='SCM check result')),
                ('base_object', models.OneToOneField(to='assets.BaseObject')),
            ],
            options={
                'abstract': False,
            },
        ),
    ]

# -*- coding: utf-8 -*-