blob: 236cb4da106f09f1a98cc1e75b43a2620c907fd5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('confreg', '0017_payconfirmedat_timestamp'),
]
operations = [
migrations.RunSQL("ALTER TABLE confreg_conferenceregistration ADD CONSTRAINT chk_payment_ids CHECK (NOT (invoice_id IS NOT NULL AND bulkpayment_id IS NOT NULL))"),
]
|