redo migrations for tickets app
This commit is contained in:
parent
89aa6bfa22
commit
b49ecb87b0
|
@ -1,26 +0,0 @@
|
||||||
# -*- coding: utf-8 -*-
|
|
||||||
# Generated by Django 1.10.5 on 2017-08-17 17:37
|
|
||||||
from __future__ import unicode_literals
|
|
||||||
|
|
||||||
from django.db import migrations, models
|
|
||||||
import django.db.models.deletion
|
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration):
|
|
||||||
|
|
||||||
dependencies = [
|
|
||||||
('camps', '0022_camp_colour'),
|
|
||||||
('tickets', '0001_initial'),
|
|
||||||
]
|
|
||||||
|
|
||||||
operations = [
|
|
||||||
migrations.RemoveField(
|
|
||||||
model_name='baseticket',
|
|
||||||
name='camp',
|
|
||||||
),
|
|
||||||
migrations.AddField(
|
|
||||||
model_name='tickettype',
|
|
||||||
name='camp',
|
|
||||||
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, to='camps.Camp'),
|
|
||||||
),
|
|
||||||
]
|
|
|
@ -1,5 +1,5 @@
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
# Generated by Django 1.10.5 on 2017-08-19 19:09
|
# Generated by Django 1.10.5 on 2017-08-19 19:26
|
||||||
from __future__ import unicode_literals
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
from django.db import migrations, models
|
from django.db import migrations, models
|
||||||
|
@ -11,10 +11,15 @@ import uuid
|
||||||
class Migration(migrations.Migration):
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
dependencies = [
|
dependencies = [
|
||||||
('tickets', '0004_auto_20170818_1303'),
|
('camps', '0022_camp_colour'),
|
||||||
|
('tickets', '0001_initial'),
|
||||||
]
|
]
|
||||||
|
|
||||||
operations = [
|
operations = [
|
||||||
|
migrations.RemoveField(
|
||||||
|
model_name='baseticket',
|
||||||
|
name='camp',
|
||||||
|
),
|
||||||
migrations.RemoveField(
|
migrations.RemoveField(
|
||||||
model_name='baseticket',
|
model_name='baseticket',
|
||||||
name='id',
|
name='id',
|
||||||
|
@ -31,6 +36,10 @@ class Migration(migrations.Migration):
|
||||||
model_name='discountticket',
|
model_name='discountticket',
|
||||||
name='uuid',
|
name='uuid',
|
||||||
),
|
),
|
||||||
|
migrations.RemoveField(
|
||||||
|
model_name='shopticket',
|
||||||
|
name='checked_in',
|
||||||
|
),
|
||||||
migrations.RemoveField(
|
migrations.RemoveField(
|
||||||
model_name='shopticket',
|
model_name='shopticket',
|
||||||
name='created',
|
name='created',
|
||||||
|
@ -55,6 +64,11 @@ class Migration(migrations.Migration):
|
||||||
model_name='sponsorticket',
|
model_name='sponsorticket',
|
||||||
name='uuid',
|
name='uuid',
|
||||||
),
|
),
|
||||||
|
migrations.AddField(
|
||||||
|
model_name='baseticket',
|
||||||
|
name='checked_in',
|
||||||
|
field=models.BooleanField(default=False),
|
||||||
|
),
|
||||||
migrations.AddField(
|
migrations.AddField(
|
||||||
model_name='baseticket',
|
model_name='baseticket',
|
||||||
name='created',
|
name='created',
|
||||||
|
@ -71,6 +85,11 @@ class Migration(migrations.Migration):
|
||||||
name='uuid',
|
name='uuid',
|
||||||
field=models.UUIDField(default=uuid.uuid4, editable=False, primary_key=True, serialize=False),
|
field=models.UUIDField(default=uuid.uuid4, editable=False, primary_key=True, serialize=False),
|
||||||
),
|
),
|
||||||
|
migrations.AddField(
|
||||||
|
model_name='tickettype',
|
||||||
|
name='camp',
|
||||||
|
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, to='camps.Camp'),
|
||||||
|
),
|
||||||
migrations.AlterField(
|
migrations.AlterField(
|
||||||
model_name='discountticket',
|
model_name='discountticket',
|
||||||
name='baseticket_ptr',
|
name='baseticket_ptr',
|
|
@ -1,5 +1,5 @@
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
# Generated by Django 1.10.5 on 2017-08-17 17:38
|
# Generated by Django 1.10.5 on 2017-08-19 19:26
|
||||||
from __future__ import unicode_literals
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
from django.db import migrations, models
|
from django.db import migrations, models
|
||||||
|
@ -9,7 +9,7 @@ import django.db.models.deletion
|
||||||
class Migration(migrations.Migration):
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
dependencies = [
|
dependencies = [
|
||||||
('tickets', '0002_auto_20170817_1937'),
|
('tickets', '0002_auto_20170819_2126'),
|
||||||
]
|
]
|
||||||
|
|
||||||
operations = [
|
operations = [
|
|
@ -1,24 +0,0 @@
|
||||||
# -*- coding: utf-8 -*-
|
|
||||||
# Generated by Django 1.10.5 on 2017-08-18 11:03
|
|
||||||
from __future__ import unicode_literals
|
|
||||||
|
|
||||||
from django.db import migrations, models
|
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration):
|
|
||||||
|
|
||||||
dependencies = [
|
|
||||||
('tickets', '0003_auto_20170817_1938'),
|
|
||||||
]
|
|
||||||
|
|
||||||
operations = [
|
|
||||||
migrations.RemoveField(
|
|
||||||
model_name='shopticket',
|
|
||||||
name='checked_in',
|
|
||||||
),
|
|
||||||
migrations.AddField(
|
|
||||||
model_name='baseticket',
|
|
||||||
name='checked_in',
|
|
||||||
field=models.BooleanField(default=False),
|
|
||||||
),
|
|
||||||
]
|
|
Loading…
Reference in a new issue