@@ 567,11 567,11 @@ class DatabaseBackend:
if log:
self.log_migration(migration, "mark")
- def log_migration(self, migration, operation, comment=None):
+ def log_migration(self, migration, operation):
sql = self.format_sql(self.log_migration_sql)
- self.execute(sql, self.get_log_data(migration, operation, comment))
+ self.execute(sql, self.get_log_data(migration, operation))
- def get_log_data(self, migration=None, operation="apply", comment=None):
+ def get_log_data(self, migration=None, operation="apply"):
"""
Return a dict of data for insertion into the ``_yoyo_log`` table
"""
@@ 584,7 584,6 @@ class DatabaseBackend:
"hostname": socket.getfqdn(),
"created_at_utc": datetime.now(timezone.utc).replace(tzinfo=None),
"operation": operation,
- "comment": comment,
}