Ticket #35176: 0003_remove_mymodel_another_field_and_more.py

File 0003_remove_mymodel_another_field_and_more.py, 604 bytes (added by Corentin Bettiol, 9 months ago)

Nonworking migration: the field "another_field" was deleted, and a new field named "another_field_renamed" was created. Only difference with the previous migration is that the verbose_name of the field also changed.

Line 
1# Generated by Django 4.2.10 on 2024-02-08 10:45
2
3from django.db import migrations, models
4
5
6class Migration(migrations.Migration):
7
8 dependencies = [
9 ("b", "0002_rename_a_field_mymodel_a_field_renamed"),
10 ]
11
12 operations = [
13 migrations.RemoveField(
14 model_name="mymodel",
15 name="another_field",
16 ),
17 migrations.AddField(
18 model_name="mymodel",
19 name="another_field_renamed",
20 field=models.BooleanField(
21 null=True, verbose_name="another verbose name renamed too"
22 ),
23 ),
24 ]
Back to Top