text: # -*- coding: utf-8 -*-
  # Generated by Django 1.10 on 2017-07-20 19:46
  from __future__ import unicode_literals
  
  from django.conf import settings
  from django.db import migrations, models
  import django.db.models.deletion
  import django.utils.timezone
  
  
  class Migration(migrations.Migration):
  
      dependencies = [
          migrations.swappable_dependency(settings.AUTH_USER_MODEL),
          ('stations', '0003_auto_20170720_1842'),
      ]
  
      operations = [
          migrations.CreateModel(
              name='HistoricalStation',
              fields=[
                  ('id', models.IntegerField(auto_created=True, blank=True, db_index=True, verbose_name='ID')),
                  ('name', models.CharField(max_length=200)),
                  ('location', models.CharField(max_length=200)),
                  ('created_date', models.DateTimeField(default=django.utils.timezone.now)),
                  ('modified_date', models.DateTimeField(default=django.utils.timezone.now)),
                  ('history_id', models.AutoField(primary_key=True, serialize=False)),
                  ('history_date', models.DateTimeField()),
                  ('history_change_reason', models.CharField(max_length=100, null=True)),
                  ('history_type', models.CharField(choices=[('+', 'Created'), ('~', 'Changed'), ('-', 'Deleted')], max_length=1)),
                  ('history_user', models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to=settings.AUTH_USER_MODEL)),
              ],
              options={
                  'verbose_name': 'historical station',
                  'ordering': ('-history_date', '-history_id'),
                  'get_latest_by': 'history_date',
              },
          ),
      ]
  