Skip to main content

Migration

This class defines a database migration that modifies the action_time field of the LogEntry model. It removes the auto_add attribute and replaces it with a default value of the current timezone and sets the field to be non-editable.

Attributes

AttributeTypeDescription
dependencieslist of tuples = [("admin", "0001_initial")]A list of migration identifiers that must be applied before this migration can be executed.
operationslist of Operation objectsA list of migration operation instances that define the schema or data changes to be applied to the database.