# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.db import models, migrations


class Migration(migrations.Migration):

    dependencies = [
        ('measurement', '0002_auto_20141008_1605'),
    ]

    operations = [
        migrations.AlterField(
            model_name='measurement',
            name='type',
            field=models.IntegerField(choices=[(1, b'Activity'), (2, b'O2'), (3, b'Pulse'), (4, b'Temperature')]),
        ),
    ]

@@ -363,21 +363,32 @@
 els.
-Intege
+Cha
 rField(
+max_length=1, 
 choi
@@ -393,17 +393,20 @@
 oices=%5B(
-1
+b'A'
 , b'Acti
@@ -414,17 +414,20 @@
 ity'), (
-2
+b'O'
 , b'O2')
@@ -433,9 +433,12 @@
 ), (
-3
+b'P'
 , b'
@@ -447,17 +447,20 @@
 lse'), (
-4
+b'T'
 , b'Temp

Patch a migration to work with postgres