diff --git a/sapl/norma/migrations/0019_auto_20161028_0232.py b/sapl/norma/migrations/0019_auto_20161028_0232.py new file mode 100644 index 000000000..075607017 --- /dev/null +++ b/sapl/norma/migrations/0019_auto_20161028_0232.py @@ -0,0 +1,19 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.9.7 on 2016-10-28 02:32 +from __future__ import unicode_literals + +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('norma', '0018_auto_20161027_1434'), + ] + + operations = [ + migrations.AlterUniqueTogether( + name='assuntonormarelationship', + unique_together=set([('assunto', 'norma')]), + ), + ] diff --git a/sapl/norma/migrations/0020_auto_20161028_1335.py b/sapl/norma/migrations/0020_auto_20161028_1335.py new file mode 100644 index 000000000..4391c8340 --- /dev/null +++ b/sapl/norma/migrations/0020_auto_20161028_1335.py @@ -0,0 +1,39 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.9.7 on 2016-10-28 13:35 +from __future__ import unicode_literals + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('norma', '0019_auto_20161028_0232'), + ] + + operations = [ + migrations.AlterUniqueTogether( + name='assuntonormarelationship', + unique_together=set([]), + ), + migrations.RemoveField( + model_name='assuntonormarelationship', + name='assunto', + ), + migrations.RemoveField( + model_name='assuntonormarelationship', + name='norma', + ), + migrations.RemoveField( + model_name='normajuridica', + name='assuntos', + ), + migrations.AddField( + model_name='normajuridica', + name='assuntos', + field=models.TextField(blank=True, null=True), + ), + migrations.DeleteModel( + name='AssuntoNormaRelationship', + ), + ] diff --git a/sapl/norma/migrations/0021_auto_20161028_1335.py b/sapl/norma/migrations/0021_auto_20161028_1335.py new file mode 100644 index 000000000..bbadc60d2 --- /dev/null +++ b/sapl/norma/migrations/0021_auto_20161028_1335.py @@ -0,0 +1,24 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.9.7 on 2016-10-28 13:35 +from __future__ import unicode_literals + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('norma', '0020_auto_20161028_1335'), + ] + + operations = [ + migrations.RemoveField( + model_name='normajuridica', + name='assuntos', + ), + migrations.AddField( + model_name='normajuridica', + name='assuntos', + field=models.ManyToManyField(blank=True, to='norma.AssuntoNorma', verbose_name='Assuntos'), + ), + ]