Skip to content
Snippets Groups Projects
Commit 131e55e5 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

migration script after merge

parent 169fbed5
No related branches found
No related tags found
No related merge requests found
Pipeline #
# -*- coding: utf-8 -*-
# Generated by Django 1.10.3 on 2017-04-04 08:47
from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('web', '0022_auto_20170403_0904'),
]
operations = [
migrations.CreateModel(
name='Availability',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('day_number', models.IntegerField(verbose_name=b'Day of the week')),
('available_from', models.TimeField(verbose_name=b'Available since')),
('available_till', models.TimeField(verbose_name=b'Available until')),
('is_current', models.BooleanField(default=True, verbose_name=b'Is current?')),
('person', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='web.Worker', verbose_name=b'Worker')),
],
),
migrations.CreateModel(
name='ContactAttempt',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('type', models.CharField(choices=[(b'E', b'Email'), (b'F', b'Face to face'), (b'X', b'Fax'), (b'P', b'Phone'), (b'S', b'SMS')], default=b'P', max_length=2)),
('datetime_when', models.DateTimeField(help_text=b'When did the contact occurred?', verbose_name=b'Contact on')),
('success', models.BooleanField(default=False)),
('comment', models.TextField(blank=True, max_length=1024, null=True)),
('subject', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='web.Subject', verbose_name=b'Subject')),
('worker', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, to='web.Worker', verbose_name=b'Worker')),
],
),
migrations.RemoveField(
model_name='avaibility',
name='person',
),
migrations.DeleteModel(
name='Avaibility',
),
]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment