# -*- coding: utf-8 -*-
# Generated by Django 1.9.4 on 2016-06-15 11:15
from __future__ import unicode_literals

from django.db import migrations, models
import os.path
import uuid


sql_path = os.path.splitext(os.path.abspath(__file__))[0]+'.sql'
with open(sql_path, "r") as sqlfile:
    sql_commands = sqlfile.read()

class Migration(migrations.Migration):

    dependencies = [
        ('renkanmanager', '0003_auto_20160105_0954'),
    ]

    operations = [
        migrations.AlterModelOptions(
            name='renkan',
            options={'permissions': (('view_renkan', 'Can view renkan'),)},
        ),
        migrations.AlterModelOptions(
            name='revision',
            options={'permissions': (('view_revision', 'Can view revision'),)},
        ),
        migrations.AlterModelOptions(
            name='workspace',
            options={'permissions': (('view_workspace', 'Can view workspace'),)},
        ),
        migrations.RunSQL(sql_commands, None, [
            migrations.AlterField(
                model_name='renkan',
                name='renkan_guid',
                field=models.UUIDField(default=uuid.uuid4, editable=False, unique=True),
            ),
            migrations.AlterField(
                model_name='revision',
                name='revision_guid',
                field=models.UUIDField(default=uuid.uuid4, editable=False, unique=True),
            ),
            migrations.AlterField(
                model_name='workspace',
                name='workspace_guid',
                field=models.UUIDField(default=uuid.uuid4, editable=False, unique=True),
            )
        ])
    ]
