diff options
Diffstat (limited to 'app/daily/migrations')
-rw-r--r-- | app/daily/migrations/0001_initial.py | 71 | ||||
-rw-r--r-- | app/daily/migrations/0002_auto_20160118_2144.py | 21 | ||||
-rw-r--r-- | app/daily/migrations/0003_auto_20160119_1206.py | 49 | ||||
-rw-r--r-- | app/daily/migrations/0004_auto_20160119_1223.py | 30 | ||||
-rw-r--r-- | app/daily/migrations/0005_remove_daily_slug.py | 19 | ||||
-rw-r--r-- | app/daily/migrations/0006_daily_weather_human.py | 20 | ||||
-rw-r--r-- | app/daily/migrations/0007_auto_20160119_1604.py | 21 | ||||
-rw-r--r-- | app/daily/migrations/0008_auto_20160124_0914.py | 30 | ||||
-rw-r--r-- | app/daily/migrations/0009_remove_daily_title.py | 19 | ||||
-rw-r--r-- | app/daily/migrations/0010_auto_20161023_2014.py | 19 | ||||
-rw-r--r-- | app/daily/migrations/__init__.py | 0 |
11 files changed, 0 insertions, 299 deletions
diff --git a/app/daily/migrations/0001_initial.py b/app/daily/migrations/0001_initial.py deleted file mode 100644 index b3ba687..0000000 --- a/app/daily/migrations/0001_initial.py +++ /dev/null @@ -1,71 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by Django 1.9 on 2016-01-18 20:38 -from __future__ import unicode_literals - -import django.contrib.gis.db.models.fields -from django.db import migrations, models -import django.db.models.deletion -import django.utils.timezone - - -class Migration(migrations.Migration): - - initial = True - - dependencies = [ - ('locations', '__first__'), - ] - - operations = [ - migrations.CreateModel( - name='CheckIn', - fields=[ - ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), - ('point', django.contrib.gis.db.models.fields.PointField(blank=True, srid=4326)), - ('date', models.DateField(default=django.utils.timezone.now)), - ('location', models.ForeignKey(blank=True, on_delete=django.db.models.deletion.CASCADE, to='locations.Location')), - ], - ), - migrations.CreateModel( - name='Daily', - fields=[ - ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), - ('title', models.CharField(max_length=200)), - ('slug', models.SlugField()), - ('body_html', models.TextField(blank=True)), - ('body_markdown', models.TextField()), - ('date', models.DateField(verbose_name='Date published')), - ('location', models.ForeignKey(blank=True, on_delete=django.db.models.deletion.CASCADE, to='locations.Location')), - ], - options={ - 'get_latest_by': 'date', - 'ordering': ('date',), - }, - ), - migrations.CreateModel( - name='Weather', - fields=[ - ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), - ('point', django.contrib.gis.db.models.fields.PointField(blank=True, null=True, srid=4326)), - ('date', models.DateField()), - ('temp_max', models.CharField(max_length=4)), - ('temp_min', models.CharField(max_length=4)), - ('temp_mean', models.CharField(max_length=4)), - ('wind_mean', models.CharField(max_length=10)), - ('wind_max', models.CharField(max_length=10)), - ('humidity', models.CharField(max_length=10)), - ('snow_amount', models.CharField(max_length=10)), - ('rain_amount', models.CharField(max_length=10)), - ('fog', models.NullBooleanField()), - ('rain', models.NullBooleanField()), - ('snow', models.NullBooleanField()), - ('hail', models.NullBooleanField()), - ('thunder', models.NullBooleanField()), - ], - ), - migrations.AddField( - model_name='daily', - name='weather', - field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='daily.Weather'), - ), - ] diff --git a/app/daily/migrations/0002_auto_20160118_2144.py b/app/daily/migrations/0002_auto_20160118_2144.py deleted file mode 100644 index 4769c21..0000000 --- a/app/daily/migrations/0002_auto_20160118_2144.py +++ /dev/null @@ -1,21 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by Django 1.9 on 2016-01-18 21:44 -from __future__ import unicode_literals - -from django.db import migrations, models -import django.db.models.deletion - - -class Migration(migrations.Migration): - - dependencies = [ - ('daily', '0001_initial'), - ] - - operations = [ - migrations.AlterField( - model_name='checkin', - name='location', - field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='locations.Location'), - ), - ] diff --git a/app/daily/migrations/0003_auto_20160119_1206.py b/app/daily/migrations/0003_auto_20160119_1206.py deleted file mode 100644 index d28c9ff..0000000 --- a/app/daily/migrations/0003_auto_20160119_1206.py +++ /dev/null @@ -1,49 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by Django 1.9 on 2016-01-19 12:06 -from __future__ import unicode_literals - -from django.db import migrations, models -import django.db.models.deletion - - -class Migration(migrations.Migration): - - dependencies = [ - ('daily', '0002_auto_20160118_2144'), - ] - - operations = [ - migrations.AlterModelOptions( - name='checkin', - options={'get_latest_by': 'date', 'ordering': ('-date',)}, - ), - migrations.AlterModelOptions( - name='weather', - options={'get_latest_by': 'date', 'ordering': ('-date',), 'verbose_name_plural': 'Weather'}, - ), - migrations.AlterField( - model_name='daily', - name='body_html', - field=models.TextField(blank=True, null=True), - ), - migrations.AlterField( - model_name='daily', - name='body_markdown', - field=models.TextField(blank=True, null=True), - ), - migrations.AlterField( - model_name='daily', - name='slug', - field=models.SlugField(blank=True, null=True), - ), - migrations.AlterField( - model_name='daily', - name='title', - field=models.CharField(blank=True, max_length=200, null=True), - ), - migrations.AlterField( - model_name='daily', - name='weather', - field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='daily.Weather'), - ), - ] diff --git a/app/daily/migrations/0004_auto_20160119_1223.py b/app/daily/migrations/0004_auto_20160119_1223.py deleted file mode 100644 index 3c77deb..0000000 --- a/app/daily/migrations/0004_auto_20160119_1223.py +++ /dev/null @@ -1,30 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by Django 1.9 on 2016-01-19 12:23 -from __future__ import unicode_literals - -from django.db import migrations, models - - -class Migration(migrations.Migration): - - dependencies = [ - ('daily', '0003_auto_20160119_1206'), - ] - - operations = [ - migrations.AlterField( - model_name='weather', - name='temp_max', - field=models.CharField(max_length=8), - ), - migrations.AlterField( - model_name='weather', - name='temp_mean', - field=models.CharField(max_length=8), - ), - migrations.AlterField( - model_name='weather', - name='temp_min', - field=models.CharField(max_length=8), - ), - ] diff --git a/app/daily/migrations/0005_remove_daily_slug.py b/app/daily/migrations/0005_remove_daily_slug.py deleted file mode 100644 index 8a896ba..0000000 --- a/app/daily/migrations/0005_remove_daily_slug.py +++ /dev/null @@ -1,19 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by Django 1.9 on 2016-01-19 13:38 -from __future__ import unicode_literals - -from django.db import migrations - - -class Migration(migrations.Migration): - - dependencies = [ - ('daily', '0004_auto_20160119_1223'), - ] - - operations = [ - migrations.RemoveField( - model_name='daily', - name='slug', - ), - ] diff --git a/app/daily/migrations/0006_daily_weather_human.py b/app/daily/migrations/0006_daily_weather_human.py deleted file mode 100644 index 7f701b4..0000000 --- a/app/daily/migrations/0006_daily_weather_human.py +++ /dev/null @@ -1,20 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by Django 1.9 on 2016-01-19 13:45 -from __future__ import unicode_literals - -from django.db import migrations, models - - -class Migration(migrations.Migration): - - dependencies = [ - ('daily', '0005_remove_daily_slug'), - ] - - operations = [ - migrations.AddField( - model_name='daily', - name='weather_human', - field=models.TextField(blank=True, null=True), - ), - ] diff --git a/app/daily/migrations/0007_auto_20160119_1604.py b/app/daily/migrations/0007_auto_20160119_1604.py deleted file mode 100644 index 1acd5de..0000000 --- a/app/daily/migrations/0007_auto_20160119_1604.py +++ /dev/null @@ -1,21 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by Django 1.9 on 2016-01-19 16:04 -from __future__ import unicode_literals - -from django.db import migrations, models -import django.db.models.deletion - - -class Migration(migrations.Migration): - - dependencies = [ - ('daily', '0006_daily_weather_human'), - ] - - operations = [ - migrations.AlterField( - model_name='daily', - name='location', - field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='locations.Location'), - ), - ] diff --git a/app/daily/migrations/0008_auto_20160124_0914.py b/app/daily/migrations/0008_auto_20160124_0914.py deleted file mode 100644 index eff3604..0000000 --- a/app/daily/migrations/0008_auto_20160124_0914.py +++ /dev/null @@ -1,30 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by Django 1.9 on 2016-01-24 09:14 -from __future__ import unicode_literals - -from django.conf import settings -from django.db import migrations, models -import django.db.models.deletion -from django.contrib.auth.models import User -lux = User.objects.get(username="luxagraf") - - -class Migration(migrations.Migration): - - dependencies = [ - migrations.swappable_dependency(settings.AUTH_USER_MODEL), - ('daily', '0007_auto_20160119_1604'), - ] - - operations = [ - migrations.AddField( - model_name='daily', - name='user', - field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL), - ), - migrations.AlterField( - model_name='daily', - name='date', - field=models.DateField(), - ), - ] diff --git a/app/daily/migrations/0009_remove_daily_title.py b/app/daily/migrations/0009_remove_daily_title.py deleted file mode 100644 index 085adf3..0000000 --- a/app/daily/migrations/0009_remove_daily_title.py +++ /dev/null @@ -1,19 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by Django 1.9 on 2016-01-24 16:27 -from __future__ import unicode_literals - -from django.db import migrations - - -class Migration(migrations.Migration): - - dependencies = [ - ('daily', '0008_auto_20160124_0914'), - ] - - operations = [ - migrations.RemoveField( - model_name='daily', - name='title', - ), - ] diff --git a/app/daily/migrations/0010_auto_20161023_2014.py b/app/daily/migrations/0010_auto_20161023_2014.py deleted file mode 100644 index 72a68cf..0000000 --- a/app/daily/migrations/0010_auto_20161023_2014.py +++ /dev/null @@ -1,19 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by Django 1.9 on 2016-10-23 20:14 -from __future__ import unicode_literals - -from django.db import migrations - - -class Migration(migrations.Migration): - - dependencies = [ - ('daily', '0009_remove_daily_title'), - ] - - operations = [ - migrations.AlterModelOptions( - name='daily', - options={'get_latest_by': 'date', 'ordering': ('-date',)}, - ), - ] diff --git a/app/daily/migrations/__init__.py b/app/daily/migrations/__init__.py deleted file mode 100644 index e69de29..0000000 --- a/app/daily/migrations/__init__.py +++ /dev/null |