diff options
Diffstat (limited to 'app/unused_apps/ebay/migrations/0001_initial.py')
-rw-r--r-- | app/unused_apps/ebay/migrations/0001_initial.py | 50 |
1 files changed, 0 insertions, 50 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'), - ), - ] |