mirror of
https://github.com/GNS3/gns3-server.git
synced 2025-06-19 15:53:47 +00:00
Sqlite doesn't allow BigInteger to be used as an primary key with autoincrement
This commit is contained in:
@ -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:
|
||||
|
Reference in New Issue
Block a user