Skip to content

Commit

Permalink
Associated migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
vkurup committed Aug 2, 2015
1 parent 86ecd39 commit a600b83
Show file tree
Hide file tree
Showing 5 changed files with 130 additions and 0 deletions.
20 changes: 20 additions & 0 deletions rapidsms/backends/database/migrations/0003_auto_20150801_2140.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.db import models, migrations


class Migration(migrations.Migration):

dependencies = [
('database', '0002_auto_20150710_1421'),
]

operations = [
migrations.AlterField(
model_name='backendmessage',
name='direction',
field=models.CharField(db_index=True, max_length=1, choices=[('I', 'Incoming'), ('O', 'Outgoing')]),
preserve_default=True,
),
]
38 changes: 38 additions & 0 deletions rapidsms/backends/kannel/migrations/0002_auto_20150801_2142.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.db import models, migrations


class Migration(migrations.Migration):

dependencies = [
('kannel', '0001_initial'),
]

operations = [
migrations.AlterField(
model_name='deliveryreport',
name='message_id',
field=models.CharField(max_length=255, verbose_name='Message ID'),
preserve_default=True,
),
migrations.AlterField(
model_name='deliveryreport',
name='sms_id',
field=models.CharField(max_length=36, verbose_name='SMS ID'),
preserve_default=True,
),
migrations.AlterField(
model_name='deliveryreport',
name='smsc',
field=models.CharField(max_length=255, verbose_name='SMSC'),
preserve_default=True,
),
migrations.AlterField(
model_name='deliveryreport',
name='status',
field=models.SmallIntegerField(choices=[(1, 'Delivery Success'), (2, 'Delivery Failure'), (4, 'Message Buffered'), (8, 'SMSC Submit'), (16, 'SMSC Reject')]),
preserve_default=True,
),
]
20 changes: 20 additions & 0 deletions rapidsms/contrib/messagelog/migrations/0002_auto_20150801_2140.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.db import models, migrations


class Migration(migrations.Migration):

dependencies = [
('messagelog', '0001_initial'),
]

operations = [
migrations.AlterField(
model_name='message',
name='direction',
field=models.CharField(max_length=1, choices=[('I', 'Incoming'), ('O', 'Outgoing')]),
preserve_default=True,
),
]
20 changes: 20 additions & 0 deletions rapidsms/migrations/0004_auto_20150801_2138.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.db import models, migrations


class Migration(migrations.Migration):

dependencies = [
('rapidsms', '0003_delete_backendmessage'),
]

operations = [
migrations.AlterField(
model_name='contact',
name='language',
field=models.CharField(help_text='The language which this contact prefers to communicate in, as a W3C language tag. If this field is left blank, RapidSMS will default to the value in LANGUAGE_CODE.', max_length=6, blank=True),
preserve_default=True,
),
]
32 changes: 32 additions & 0 deletions rapidsms/router/db/migrations/0002_auto_20150801_2142.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.db import models, migrations


class Migration(migrations.Migration):

dependencies = [
('db', '0001_initial'),
]

operations = [
migrations.AlterField(
model_name='message',
name='direction',
field=models.CharField(max_length=1, db_index=True, choices=[('I', 'Incoming'), ('O', 'Outgoing')]),
preserve_default=True,
),
migrations.AlterField(
model_name='message',
name='status',
field=models.CharField(max_length=1, db_index=True, choices=[('Q', 'Queued'), ('R', 'Received'), ('P', 'Processing'), ('S', 'Sent'), ('D', 'Delivered'), ('E', 'Errored')], default='Q'),
preserve_default=True,
),
migrations.AlterField(
model_name='transmission',
name='status',
field=models.CharField(max_length=1, db_index=True, choices=[('Q', 'Queued'), ('R', 'Received'), ('P', 'Processing'), ('S', 'Sent'), ('D', 'Delivered'), ('E', 'Errored')]),
preserve_default=True,
),
]

0 comments on commit a600b83

Please sign in to comment.