text: # Generated by Django 2.1.1 on 2018-09-24 04:08
  
  from django.conf import settings
  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='Action',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('created', models.DateTimeField(auto_now_add=True)),
                  ('text', models.CharField(max_length=140)),
                  ('unit', models.CharField(max_length=50)),
                  ('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='actions', to=settings.AUTH_USER_MODEL)),
              ],
              options={
                  'abstract': False,
              },
          ),
          migrations.CreateModel(
              name='Record',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('created', models.DateTimeField(auto_now_add=True)),
                  ('values', models.PositiveIntegerField()),
                  ('action', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='records', to='core.Action')),
              ],
              options={
                  'abstract': False,
              },
          ),
      ]
  