# -*- coding: utf-8 -*-
# Generated by Django 1.11.1 on 2017-06-06 06:39
from __future__ import unicode_literals

from django.conf import settings
import django.core.validators
from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

    initial = True

    dependencies = [
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
    ]

    operations = [
        migrations.CreateModel(
            name='DailyActivity',
            fields=[
                ('activity_id', models.AutoField(primary_key=True, serialize=False)),
                ('activity_created', models.DateTimeField(verbose_name='Activity Created On')),
                ('activity_detail', models.CharField(max_length=1000, verbose_name='Describe Activity')),
                ('activity_star', models.BooleanField(verbose_name='Mark this as milestone.')),
                ('activity_goal_map', models.CharField(max_length=500, verbose_name='Map with Goal')),
                ('activity_weightage', models.IntegerField(blank=True, default=1, null=True, validators=[django.core.validators.MaxValueValidator(3), django.core.validators.MinValueValidator(1)], verbose_name='Weights (4 Hours is 1 Weight)')),
                ('activity_user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
            ],
            options={
                'db_table': 'lt_activities',
                'ordering': ['-activity_created'],
                'verbose_name_plural': 'Daily Activities',
            },
        ),
        migrations.CreateModel(
            name='GoalsCategory',
            fields=[
                ('category_id', models.AutoField(primary_key=True, serialize=False)),
                ('category_value', models.CharField(max_length=200, unique=True, verbose_name='Goal Category (Slug Form)')),
                ('category_name', models.CharField(max_length=500, verbose_name='Goal Category Name')),
            ],
            options={
                'db_table': 'lt_categories',
                'verbose_name_plural': 'Goal Categories',
            },
        ),
        migrations.CreateModel(
            name='ShortTermGoals',
            fields=[
                ('goal_id', models.AutoField(primary_key=True, serialize=False)),
                ('goal_slug', models.CharField(max_length=500, unique=True, verbose_name='Goal Name (Slug Form)')),
                ('goal_desc', models.CharField(blank=True, max_length=2000, null=True, verbose_name='Short Description')),
                ('goal_status', models.BooleanField(default=False, verbose_name='Goal Achieved?')),
                ('goal_updated', models.DateTimeField(blank=True, null=True, verbose_name='Last Updated On')),
                ('goal_target', models.DateTimeField(blank=True, null=True, verbose_name='Expected Completion Date')),
                ('goal_category', models.CharField(max_length=500, verbose_name='Goal Category')),
                ('goal_notes', models.CharField(blank=True, max_length=1000, null=True, verbose_name='Notes or Remarks')),
                ('goal_weight', models.IntegerField(blank=True, default=2, null=True, validators=[django.core.validators.MaxValueValidator(3), django.core.validators.MinValueValidator(1)], verbose_name='Hours per day')),
            ],
            options={
                'db_table': 'lt_goals',
                'verbose_name': 'Short Term Goal',
            },
        ),
    ]
