diff options
Diffstat (limited to 'app/unused_apps/ebay/migrations')
6 files changed, 0 insertions, 144 deletions
diff --git a/app/unused_apps/ebay/migrations/0001_initial.py b/app/unused_apps/ebay/migrations/0001_initial.py deleted file mode 100644 index 3d2d34e..0000000 --- a/app/unused_apps/ebay/migrations/0001_initial.py +++ /dev/null @@ -1,50 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by Django 1.9 on 2016-12-31 11:43 -from __future__ import unicode_literals - -from django.db import migrations, models -import django.db.models.deletion - - -class Migration(migrations.Migration): - - initial = True - - dependencies = [ - ] - - operations = [ - migrations.CreateModel( - name='Item', - fields=[ - ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), - ('url', models.CharField(max_length=200)), - ('title', models.CharField(max_length=200)), - ('purchase_price', models.IntegerField()), - ('currently_own', models.BooleanField(default=False)), - ('sold', models.BooleanField(default=False)), - ('sale_price', models.IntegerField()), - ], - ), - migrations.CreateModel( - name='Price', - fields=[ - ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), - ('date', models.DateTimeField()), - ('price', models.IntegerField()), - ], - ), - migrations.CreateModel( - name='TrackedItem', - fields=[ - ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), - ('url', models.CharField(max_length=200)), - ('title', models.CharField(max_length=200)), - ], - ), - migrations.AddField( - model_name='price', - name='item', - field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='ebay.TrackedItem'), - ), - ] diff --git a/app/unused_apps/ebay/migrations/0002_auto_20161231_1401.py b/app/unused_apps/ebay/migrations/0002_auto_20161231_1401.py deleted file mode 100644 index 46f5a12..0000000 --- a/app/unused_apps/ebay/migrations/0002_auto_20161231_1401.py +++ /dev/null @@ -1,25 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by Django 1.9 on 2016-12-31 14:01 -from __future__ import unicode_literals - -from django.db import migrations, models - - -class Migration(migrations.Migration): - - dependencies = [ - ('ebay', '0001_initial'), - ] - - operations = [ - migrations.AlterField( - model_name='price', - name='date', - field=models.DateTimeField(blank=True), - ), - migrations.AlterField( - model_name='price', - name='price', - field=models.DecimalField(decimal_places=2, max_digits=6), - ), - ] diff --git a/app/unused_apps/ebay/migrations/0003_auto_20161231_1419.py b/app/unused_apps/ebay/migrations/0003_auto_20161231_1419.py deleted file mode 100644 index 1f05859..0000000 --- a/app/unused_apps/ebay/migrations/0003_auto_20161231_1419.py +++ /dev/null @@ -1,24 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by Django 1.9 on 2016-12-31 14:19 -from __future__ import unicode_literals - -from django.db import migrations - - -class Migration(migrations.Migration): - - dependencies = [ - ('ebay', '0002_auto_20161231_1401'), - ] - - operations = [ - migrations.AlterModelOptions( - name='price', - options={'get_latest_by': 'date', 'ordering': ('-date',)}, - ), - migrations.RenameField( - model_name='item', - old_name='title', - new_name='name', - ), - ] diff --git a/app/unused_apps/ebay/migrations/0004_trackeditem_date_ending.py b/app/unused_apps/ebay/migrations/0004_trackeditem_date_ending.py deleted file mode 100644 index 15f41e7..0000000 --- a/app/unused_apps/ebay/migrations/0004_trackeditem_date_ending.py +++ /dev/null @@ -1,21 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by Django 1.9 on 2016-12-31 14:26 -from __future__ import unicode_literals - -from django.db import migrations, models -import django.utils.timezone - - -class Migration(migrations.Migration): - - dependencies = [ - ('ebay', '0003_auto_20161231_1419'), - ] - - operations = [ - migrations.AddField( - model_name='trackeditem', - name='date_ending', - field=models.DateTimeField(default=django.utils.timezone.now), - ), - ] diff --git a/app/unused_apps/ebay/migrations/0005_auto_20161231_1444.py b/app/unused_apps/ebay/migrations/0005_auto_20161231_1444.py deleted file mode 100644 index a7a48ac..0000000 --- a/app/unused_apps/ebay/migrations/0005_auto_20161231_1444.py +++ /dev/null @@ -1,24 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by Django 1.9 on 2016-12-31 14:44 -from __future__ import unicode_literals - -from django.db import migrations, models - - -class Migration(migrations.Migration): - - dependencies = [ - ('ebay', '0004_trackeditem_date_ending'), - ] - - operations = [ - migrations.AlterModelOptions( - name='trackeditem', - options={'get_latest_by': 'date_ending', 'ordering': ('-date_ending', 'amount_desired')}, - ), - migrations.AddField( - model_name='trackeditem', - name='amount_desired', - field=models.IntegerField(choices=[(0, '1'), (1, '2'), (2, '3'), (3, '4'), (4, '5')], default=0), - ), - ] diff --git a/app/unused_apps/ebay/migrations/__init__.py b/app/unused_apps/ebay/migrations/__init__.py deleted file mode 100644 index e69de29..0000000 --- a/app/unused_apps/ebay/migrations/__init__.py +++ /dev/null |