Sqlite doesn't allow BigInteger to be used as an primary key with autoincrement

This commit is contained in:
grossmj committed 2021-09-23 11:05:03 +09:30
1 parent d8bceaad5d
commit b683659d21
3 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -124,7 +124,7 @@ async def delete_image(
if not image:
raise ControllerNotFoundError(f"Image '{image_path}' not found")
if await images_repo.get_image_templates(image.id):
if await images_repo.get_image_templates(image.image_id):
raise ControllerError(f"Image '{image_path}' is used by one or more templates")
try: