remove comment argument from Backend.log_migration

This argument is unused, and removing it from the insert query parameters fixes
the follow-up issue noted on #102
1 files changed, 3 insertions(+), 4 deletions(-)

M yoyo/backends/base.py
M yoyo/backends/base.py +3 -4
@@ 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,
         }