Skip to content

Commit

Permalink
feat: Add Capella version 7.0.0 as default tool
Browse files Browse the repository at this point in the history
  • Loading branch information
MoritzWeber0 committed Oct 16, 2024
1 parent e3ccc1f commit 7462b1d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions backend/capellacollab/core/database/migration.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ def create_capella_tool(db: orm.Session) -> tools_models.DatabaseTool:
)
capella_database = tools_crud.create_tool(db, capella)

for capella_version_name in ("5.0.0", "5.2.0", "6.0.0", "6.1.0"):
for capella_version_name in ("5.0.0", "5.2.0", "6.0.0", "6.1.0", "7.0.0"):
if "localhost" in registry:
docker_tag = f"{capella_version_name}-latest"
else:
Expand All @@ -206,8 +206,8 @@ def create_capella_tool(db: orm.Session) -> tools_models.DatabaseTool:
capella_version = tools_models.CreateToolVersion(
name=capella_version_name,
config=tools_models.ToolVersionConfiguration(
is_recommended=capella_version_name == "6.1.0",
is_deprecated=capella_version_name == "5.0.0",
is_recommended=capella_version_name == "7.0.0",
is_deprecated=capella_version_name in ("5.0.0", "5.2.0"),
sessions=tools_models.SessionToolConfiguration(
persistent=tools_models.PersistentSessionToolConfiguration(
image=(f"{registry}/capella/remote:{docker_tag}"),
Expand Down

0 comments on commit 7462b1d

Please sign in to comment.