categories.migration

migration#

Adds and removes category relations on the database.

Functions

drop_field(app_name, model_name, field_name)

Drop the given field from the app's model.

field_exists(app_name, model_name, field_name)

Does the FK or M2M table exist in the database already?

migrate_app(sender, *args, **kwargs)

Migrate all models of this app registered.

table_exists(table_name)

Check if a table exists in the database.