dynamicweb/digitalglarus/migrations/0024_bookingcancellation.py

27 lines
900 B
Python
Raw Permalink Normal View History

2016-12-05 00:44:26 +00:00
# -*- coding: utf-8 -*-
# Generated by Django 1.9.4 on 2016-12-02 02:22
from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('digitalglarus', '0023_bookingorder_status'),
]
operations = [
migrations.CreateModel(
name='BookingCancellation',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('created_at', models.DateTimeField(auto_now=True)),
('required_refund', models.BooleanField(default=True)),
('refund', models.BooleanField(default=False)),
('order', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='digitalglarus.BookingOrder')),
],
),
]