mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-06 15:21:13 +02:00
Start refactoring for images management
This commit is contained in:
1 parent
f64b5cd9b6
commit
515bd50261
16 files changed
+594
-30
No files matched your search
@@ -35,6 +35,8 @@ class Template(BaseTable):
|
||||
usage = Column(String)
|
||||
template_type = Column(String)
|
||||
|
||||
image_id = Column(Integer, ForeignKey('images.id', ondelete="CASCADE"))
|
||||
|
||||
__mapper_args__ = {
|
||||
"polymorphic_identity": "templates",
|
||||
"polymorphic_on": template_type,
|
||||
|
||||
Reference in new issue
Block a user