0021_auto_20160115_1328.py 396 Bytes
# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('dictionary', '0020_auto_20151223_1151'),
    ]

    operations = [
        migrations.RunSQL(
            "SELECT setval('leksemy_id_seq', "
            "COALESCE((SELECT MAX(id)+1 FROM leksemy), 1), false);"),
    ]