summaryrefslogtreecommitdiff
path: root/app/unused_apps/ebay/migrations/0001_initial.py
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2017-12-14 18:47:45 -0800
committerluxagraf <sng@luxagraf.net>2017-12-14 18:47:45 -0800
commit83b7318a4672d32ed77cd3f906f43f5ad1cce854 (patch)
tree457806693c791360ada99dd9b3d19a5dc9712936 /app/unused_apps/ebay/migrations/0001_initial.py
parentadb5c207bea19cedc400b65bd8cd2c54ca0faba0 (diff)
archived old apps that I'm not using
Diffstat (limited to 'app/unused_apps/ebay/migrations/0001_initial.py')
-rw-r--r--app/unused_apps/ebay/migrations/0001_initial.py50
1 files changed, 50 insertions, 0 deletions
diff --git a/app/unused_apps/ebay/migrations/0001_initial.py b/app/unused_apps/ebay/migrations/0001_initial.py
new file mode 100644
index 0000000..3d2d34e
--- /dev/null
+++ b/app/unused_apps/ebay/migrations/0001_initial.py
@@ -0,0 +1,50 @@
+# -*- 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'),
+ ),
+ ]