summaryrefslogtreecommitdiff
path: root/app/products/migrations
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2023-07-28 13:39:02 -0500
committerluxagraf <sng@luxagraf.net>2023-07-28 13:39:02 -0500
commit9a620cf42bf1fe6977e378bd834b41ff4a593dde (patch)
treecf41a0582681cecaf88a30bfe409f9c2be57972a /app/products/migrations
parent6e5897117124cd60ae81efb1574c6347f48e60e5 (diff)
main: removed some apps I wasn't using and added bak to git to preserve
a copy of old apps
Diffstat (limited to 'app/products/migrations')
-rw-r--r--app/products/migrations/0001_initial.py36
-rw-r--r--app/products/migrations/0002_auto_20191008_0841.py29
-rw-r--r--app/products/migrations/0003_auto_20191008_0941.py30
-rw-r--r--app/products/migrations/0004_auto_20191109_0849.py23
-rw-r--r--app/products/migrations/0005_product_featured_image.py19
-rw-r--r--app/products/migrations/0006_remove_product_image.py17
-rw-r--r--app/products/migrations/__init__.py0
7 files changed, 0 insertions, 154 deletions
diff --git a/app/products/migrations/0001_initial.py b/app/products/migrations/0001_initial.py
deleted file mode 100644
index eb2a822..0000000
--- a/app/products/migrations/0001_initial.py
+++ /dev/null
@@ -1,36 +0,0 @@
-# Generated by Django 2.2.6 on 2019-10-08 07:46
-
-from django.db import migrations, models
-import products.models
-
-
-class Migration(migrations.Migration):
-
- initial = True
-
- dependencies = [
- ]
-
- operations = [
- migrations.CreateModel(
- name='Product',
- fields=[
- ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
- ('name', models.CharField(max_length=200)),
- ('slug', models.CharField(max_length=50)),
- ('pub_date', models.DateTimeField()),
- ('body_markdown', models.TextField(blank=True)),
- ('body_html', models.TextField(blank=True, null=True)),
- ('primary_offer_url', models.CharField(max_length=400)),
- ('primary_offer_price', models.IntegerField()),
- ('secondary_offer_url', models.CharField(blank=True, max_length=400, null=True)),
- ('secondar_offer_price', models.IntegerField(blank=True, null=True)),
- ('rating', models.IntegerField()),
- ('is_public', models.BooleanField(default=True)),
- ('image', models.FileField(blank=True, null=True, upload_to=products.models.get_upload_path)),
- ],
- options={
- 'ordering': ('-pub_date',),
- },
- ),
- ]
diff --git a/app/products/migrations/0002_auto_20191008_0841.py b/app/products/migrations/0002_auto_20191008_0841.py
deleted file mode 100644
index 11b2d59..0000000
--- a/app/products/migrations/0002_auto_20191008_0841.py
+++ /dev/null
@@ -1,29 +0,0 @@
-# Generated by Django 2.2.6 on 2019-10-08 08:41
-
-from django.db import migrations, models
-import django.db.models.deletion
-
-
-class Migration(migrations.Migration):
-
- dependencies = [
- ('products', '0001_initial'),
- ]
-
- operations = [
- migrations.CreateModel(
- name='Brand',
- fields=[
- ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
- ('name', models.CharField(max_length=200)),
- ('slug', models.CharField(max_length=50)),
- ('pub_date', models.DateTimeField(auto_now_add=True)),
- ],
- ),
- migrations.AddField(
- model_name='product',
- name='brand',
- field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='products.Brand'),
- preserve_default=False,
- ),
- ]
diff --git a/app/products/migrations/0003_auto_20191008_0941.py b/app/products/migrations/0003_auto_20191008_0941.py
deleted file mode 100644
index 085fd32..0000000
--- a/app/products/migrations/0003_auto_20191008_0941.py
+++ /dev/null
@@ -1,30 +0,0 @@
-# Generated by Django 2.2.6 on 2019-10-08 09:41
-
-from django.db import migrations, models
-
-
-class Migration(migrations.Migration):
-
- dependencies = [
- ('products', '0002_auto_20191008_0841'),
- ]
-
- operations = [
- migrations.RenameField(
- model_name='product',
- old_name='secondar_offer_price',
- new_name='secondary_offer_price',
- ),
- migrations.AddField(
- model_name='product',
- name='primary_offer_retailer',
- field=models.CharField(default='Amazon', max_length=400),
- preserve_default=False,
- ),
- migrations.AddField(
- model_name='product',
- name='secondary_offer_retailer',
- field=models.CharField(default='Amazon', max_length=400),
- preserve_default=False,
- ),
- ]
diff --git a/app/products/migrations/0004_auto_20191109_0849.py b/app/products/migrations/0004_auto_20191109_0849.py
deleted file mode 100644
index 1666a56..0000000
--- a/app/products/migrations/0004_auto_20191109_0849.py
+++ /dev/null
@@ -1,23 +0,0 @@
-# Generated by Django 2.2.6 on 2019-11-09 08:49
-
-from django.db import migrations, models
-
-
-class Migration(migrations.Migration):
-
- dependencies = [
- ('products', '0003_auto_20191008_0941'),
- ]
-
- operations = [
- migrations.AlterField(
- model_name='product',
- name='primary_offer_retailer',
- field=models.IntegerField(choices=[(0, 'Amazon'), (1, 'REI'), (2, 'eBay')], default=0),
- ),
- migrations.AlterField(
- model_name='product',
- name='secondary_offer_retailer',
- field=models.IntegerField(choices=[(0, 'Amazon'), (1, 'REI'), (2, 'eBay')], default=0),
- ),
- ]
diff --git a/app/products/migrations/0005_product_featured_image.py b/app/products/migrations/0005_product_featured_image.py
deleted file mode 100644
index 032bbfa..0000000
--- a/app/products/migrations/0005_product_featured_image.py
+++ /dev/null
@@ -1,19 +0,0 @@
-# Generated by Django 2.2.6 on 2019-11-09 09:35
-
-from django.db import migrations, models
-import django.db.models.deletion
-
-
-class Migration(migrations.Migration):
-
- dependencies = [
- ('products', '0004_auto_20191109_0849'),
- ]
-
- operations = [
- migrations.AddField(
- model_name='product',
- name='featured_image',
- field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='media.LuxImage'),
- ),
- ]
diff --git a/app/products/migrations/0006_remove_product_image.py b/app/products/migrations/0006_remove_product_image.py
deleted file mode 100644
index b05110d..0000000
--- a/app/products/migrations/0006_remove_product_image.py
+++ /dev/null
@@ -1,17 +0,0 @@
-# Generated by Django 2.2.6 on 2019-11-09 09:47
-
-from django.db import migrations
-
-
-class Migration(migrations.Migration):
-
- dependencies = [
- ('products', '0005_product_featured_image'),
- ]
-
- operations = [
- migrations.RemoveField(
- model_name='product',
- name='image',
- ),
- ]
diff --git a/app/products/migrations/__init__.py b/app/products/migrations/__init__.py
deleted file mode 100644
index e69de29..0000000
--- a/app/products/migrations/__init__.py
+++ /dev/null