sheetsync: even more hard-coded columns in database fetch

pull/330/head
Mike Lang 2 years ago
parent e0d035f8b9
commit 92ea0fbb77

@ -217,7 +217,7 @@ class SheetSync(object):
SELECT {} FROM EVENTS SELECT {} FROM EVENTS
""").format( """).format(
sql.SQL(", ").join(sql.Identifier(col) for col in sql.SQL(", ").join(sql.Identifier(col) for col in
{ "id", "state", "error", "public" } { "id", "state", "error", "public", "poster_moment", "sheet_name", "category" }
| set(self.input_columns) | set(self.input_columns)
| set(self.output_columns) | set(self.output_columns)
), ),

Loading…
Cancel
Save