Commit eab671ad authored by Jean-Baptiste Pasquier's avatar Jean-Baptiste Pasquier

fix: reset migrations

parent 5f0833ad
Pipeline #6200 passed with stage
in 27 seconds
# -*- coding: utf-8 -*-
# Generated by Django 1.11.20 on 2019-08-28 12:01
# Generated by Django 1.11.20 on 2019-10-26 16:01
from __future__ import unicode_literals
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
import djangoldp.fields
import djangoldp_project.models
class Migration(migrations.Migration):
......@@ -20,6 +22,7 @@ class Migration(migrations.Migration):
name='BusinessProvider',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('urlid', djangoldp.fields.LDPUrlField(blank=True, null=True, unique=True)),
('name', models.CharField(max_length=255)),
('fee', models.PositiveIntegerField(default='0')),
],
......@@ -32,6 +35,7 @@ class Migration(migrations.Migration):
name='Customer',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('urlid', djangoldp.fields.LDPUrlField(blank=True, null=True, unique=True)),
('name', models.CharField(max_length=255)),
('address', models.CharField(blank=True, max_length=255)),
('logo', models.URLField(blank=True, null=True)),
......@@ -51,21 +55,28 @@ class Migration(migrations.Migration):
name='Member',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('urlid', djangoldp.fields.LDPUrlField(blank=True, null=True, unique=True)),
('name', models.CharField(blank=True, max_length=255)),
],
options={
'abstract': False,
'default_permissions': ('add', 'change', 'delete', 'view', 'control'),
},
),
migrations.CreateModel(
name='Project',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('urlid', djangoldp.fields.LDPUrlField(blank=True, null=True, unique=True)),
('name', models.CharField(max_length=255)),
('description', models.TextField(blank=True)),
('number', models.PositiveIntegerField(blank=True, default='0')),
('number', models.PositiveIntegerField(default=djangoldp_project.models.auto_increment_project_number, editable=False)),
('creationDate', models.DateField(auto_now_add=True)),
('driveID', models.TextField(blank=True)),
('jabberID', models.CharField(blank=True, max_length=255, null=True)),
('jabberRoom', models.BooleanField(default=True)),
('businessProvider', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.DO_NOTHING, to='djangoldp_project.BusinessProvider')),
('captain', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.DO_NOTHING, related_name='+', to=settings.AUTH_USER_MODEL)),
('customer', models.ForeignKey(on_delete=django.db.models.deletion.DO_NOTHING, to='djangoldp_project.Customer')),
('team', models.ManyToManyField(blank=True, through='djangoldp_project.Member', to=settings.AUTH_USER_MODEL)),
],
......
# -*- coding: utf-8 -*-
# Generated by Django 1.11 on 2019-09-17 11:22
from __future__ import unicode_literals
from django.db import migrations
import djangoldp.fields
class Migration(migrations.Migration):
dependencies = [
('djangoldp_project', '0001_initial'),
]
operations = [
migrations.AddField(
model_name='businessprovider',
name='urlid',
field=djangoldp.fields.LDPUrlField(blank=True, null=True, unique=True),
),
migrations.AddField(
model_name='customer',
name='urlid',
field=djangoldp.fields.LDPUrlField(blank=True, null=True, unique=True),
),
migrations.AddField(
model_name='member',
name='urlid',
field=djangoldp.fields.LDPUrlField(blank=True, null=True, unique=True),
),
migrations.AddField(
model_name='project',
name='urlid',
field=djangoldp.fields.LDPUrlField(blank=True, null=True, unique=True),
),
]
# -*- coding: utf-8 -*-
# Generated by Django 1.11.20 on 2019-10-02 14:25
from __future__ import unicode_literals
from django.db import migrations, models
import djangoldp_project.models
class Migration(migrations.Migration):
dependencies = [
('djangoldp_project', '0002_auto_20190917_1122'),
]
operations = [
migrations.AlterField(
model_name='project',
name='number',
field=models.PositiveIntegerField(default=djangoldp_project.models.auto_increment_project_number, editable=False),
),
]
# -*- coding: utf-8 -*-
# Generated by Django 1.11.25 on 2019-10-03 11:45
from __future__ import unicode_literals
from django.conf import settings
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('djangoldp_project', '0003_auto_20191002_1425'),
]
operations = [
migrations.AlterField(
model_name='project',
name='team',
field=models.ManyToManyField(through='djangoldp_project.Member', to=settings.AUTH_USER_MODEL),
),
]
# -*- coding: utf-8 -*-
# Generated by Django 1.11.20 on 2019-10-17 14:32
from __future__ import unicode_literals
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
('djangoldp_project', '0004_auto_20191003_1145'),
]
operations = [
migrations.AddField(
model_name='project',
name='captain',
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.DO_NOTHING, related_name='+', to=settings.AUTH_USER_MODEL),
),
migrations.AlterField(
model_name='project',
name='team',
field=models.ManyToManyField(blank=True, through='djangoldp_project.Member', to=settings.AUTH_USER_MODEL),
),
]
# -*- coding: utf-8 -*-
# Generated by Django 1.11.20 on 2019-10-21 13:57
from __future__ import unicode_literals
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('djangoldp_project', '0005_auto_20191017_1432'),
]
operations = [
migrations.AlterModelOptions(
name='member',
options={'default_permissions': ('add', 'change', 'delete', 'view', 'control')},
),
]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment