summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Reporting/migrations/0002_convert_perms_to_mode.py
blob: 48bfd64126534ac1e4cd619ba99ee6e9840bc1fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.db import models, migrations


class Migration(migrations.Migration):

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

    operations = [
        migrations.RenameField(
            model_name='fileperms',
            old_name='perms',
            new_name='mode',
        ),
        migrations.AlterUniqueTogether(
            name='fileperms',
            unique_together=set([('owner', 'group', 'mode')]),
        ),
    ]