mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-17 05:22:16 +00:00
Minor DB migrations
This commit is contained in:
19
RIGS/migrations/0011_venue_address.py
Normal file
19
RIGS/migrations/0011_venue_address.py
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
|
from django.db import models, migrations
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
dependencies = [
|
||||||
|
('RIGS', '0010_auto_20141105_2219'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AddField(
|
||||||
|
model_name='venue',
|
||||||
|
name='address',
|
||||||
|
field=models.TextField(blank=True, null=True),
|
||||||
|
preserve_default=True,
|
||||||
|
),
|
||||||
|
]
|
||||||
21
RIGS/migrations/0012_auto_20141106_0253.py
Normal file
21
RIGS/migrations/0012_auto_20141106_0253.py
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
|
from django.db import models, migrations
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
dependencies = [
|
||||||
|
('RIGS', '0011_venue_address'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterModelOptions(
|
||||||
|
name='eventitem',
|
||||||
|
options={'ordering': ['order']},
|
||||||
|
),
|
||||||
|
migrations.AlterModelOptions(
|
||||||
|
name='vatrate',
|
||||||
|
options={'ordering': ['-start_at'], 'get_latest_by': 'start_at'},
|
||||||
|
),
|
||||||
|
]
|
||||||
Reference in New Issue
Block a user