mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 05:51:15 +02:00
Sqlite doesn't allow BigInteger to be used as an primary key with autoincrement
This commit is contained in:
1 parent
d8bceaad5d
commit
b683659d21
3 files changed
+6
-6
No files matched your search
@@ -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