This commit is contained in:
maryhipp 2024-06-26 14:22:54 -04:00 committed by psychedelicious
parent 38a948ac9f
commit 5120a76ce5
2 changed files with 3 additions and 4 deletions

View File

@ -73,8 +73,7 @@ async def update_board(
try: try:
result = ApiDependencies.invoker.services.boards.update(board_id=board_id, changes=changes) result = ApiDependencies.invoker.services.boards.update(board_id=board_id, changes=changes)
return result return result
except Exception as e: except Exception:
print(e)
raise HTTPException(status_code=500, detail="Failed to update board") raise HTTPException(status_code=500, detail="Failed to update board")

View File

@ -5,9 +5,9 @@ from invokeai.app.services.shared.sqlite_migrator.sqlite_migrator_common import
class Migration13Callback: class Migration13Callback:
def __call__(self, cursor: sqlite3.Cursor) -> None: def __call__(self, cursor: sqlite3.Cursor) -> None:
self._update_error_cols(cursor) self._add_archived_col(cursor)
def _update_error_cols(self, cursor: sqlite3.Cursor) -> None: def _add_archived_col(self, cursor: sqlite3.Cursor) -> None:
""" """
- Adds `archived` columns to the board table. - Adds `archived` columns to the board table.
""" """