Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Add migration file

Mira Szewczykc21007ee0575
diff --git a/saleor/product/migrations/0026_auto_20170102_0927.py b/saleor/product/migrations/0026_auto_20170102_0927.py
new file mode 100644
index 0000000000..4778bd2265
--- /dev/null
+++ b/saleor/product/migrations/0026_auto_20170102_0927.py
@@ -0,0 +1,28 @@
+# -*- coding: utf-8 -*-
+# Generated by Django 1.10.3 on 2017-01-02 15:27
+from __future__ import unicode_literals
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('product', '0025_auto_20161219_0517'),
+ ]
+
+ operations = [
+ migrations.CreateModel(
+ name='Collection',
+ fields=[
+ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
+ ('name', models.CharField(max_length=128, verbose_name='name')),
+ ('products', models.ManyToManyField(to='product.Product')),
+ ],
+ ),
+ migrations.AlterField(
+ model_name='stocklocation',
+ name='name',
+ field=models.CharField(max_length=100, verbose_name='location'),
+ ),
+ ]