vkk.migrations.0005_rename_is_closed_periodclosure_is_closed_contributor
1# Generated by Django 4.1.5 on 2023-01-26 12:19 2 3from django.db import migrations 4 5 6class Migration(migrations.Migration): 7 8 dependencies = [ 9 ('vkk', '0004_alter_receipt_buper'), 10 ] 11 12 operations = [ 13 migrations.RenameField( 14 model_name='periodclosure', 15 old_name='is_closed', 16 new_name='is_closed_contributor', 17 ), 18 ]
class
Migration(django.db.migrations.migration.Migration):
7class Migration(migrations.Migration): 8 9 dependencies = [ 10 ('vkk', '0004_alter_receipt_buper'), 11 ] 12 13 operations = [ 14 migrations.RenameField( 15 model_name='periodclosure', 16 old_name='is_closed', 17 new_name='is_closed_contributor', 18 ), 19 ]
The base class for all migrations.
Migration files will import this from django.db.migrations.Migration and subclass it as a class called Migration. It will have one or more of the following attributes:
- operations: A list of Operation instances, probably from django.db.migrations.operations
- dependencies: A list of tuples of (app_path, migration_name)
- run_before: A list of tuples of (app_path, migration_name)
- replaces: A list of migration_names
Note that all migrations come out of migrations and into the Loader or Graph as instances, having been initialized with their app label and name.
operations =
[<RenameField model_name='periodclosure', old_name='is_closed', new_name='is_closed_contributor'>]
Inherited Members
- django.db.migrations.migration.Migration
- Migration
- run_before
- replaces
- initial
- atomic
- name
- app_label
- mutate_state
- apply
- unapply
- suggest_name