From 71db734fa2e08265fcd05da2d1268a177aad21c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ses=C3=B3stris=20Vieira?= Date: Tue, 4 Jan 2022 17:05:23 -0300 Subject: [PATCH] Acerta IDs dos models para bigint --- ...servico_id_alter_servidor_foto_and_more.py | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 sigi/apps/servidores/migrations/0008_alter_servico_id_alter_servidor_foto_and_more.py diff --git a/sigi/apps/servidores/migrations/0008_alter_servico_id_alter_servidor_foto_and_more.py b/sigi/apps/servidores/migrations/0008_alter_servico_id_alter_servidor_foto_and_more.py new file mode 100644 index 0000000..cf35107 --- /dev/null +++ b/sigi/apps/servidores/migrations/0008_alter_servico_id_alter_servidor_foto_and_more.py @@ -0,0 +1,28 @@ +# Generated by Django 4.0.1 on 2022-01-04 19:56 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('servidores', '0007_auto_20210430_0735'), + ] + + operations = [ + migrations.AlterField( + model_name='servico', + name='id', + field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'), + ), + migrations.AlterField( + model_name='servidor', + name='foto', + field=models.ImageField(blank=True, height_field='foto_altura', upload_to='fotos/servidores', width_field='foto_largura'), + ), + migrations.AlterField( + model_name='servidor', + name='id', + field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'), + ), + ]