Add template script metadata

This commit is contained in:
2026-06-03 09:23:47 +02:00
parent cec91cf00f
commit cc0cbb4671
+8 -4
View File
@@ -29,28 +29,32 @@ WHERE id = 'fastapi'
con.execute("""
UPDATE app_templates
SET create_script = '/tools/new-dotnet-api-app.sh',
deploy_script = '/tools/deploy-app.sh'
deploy_script = '/tools/deploy-app.sh',
create_enabled = 0
WHERE id = 'dotnet-api'
""")
con.execute("""
UPDATE app_templates
SET create_script = '/tools/new-dotnet-worker-app.sh',
deploy_script = '/tools/deploy-app.sh'
deploy_script = '/tools/deploy-app.sh',
create_enabled = 0
WHERE id = 'dotnet-worker'
""")
con.execute("""
UPDATE app_templates
SET create_script = '/tools/new-nodejs-ts-app.sh',
deploy_script = '/tools/deploy-app.sh'
deploy_script = '/tools/deploy-app.sh',
create_enabled = 0
WHERE id = 'nodejs-ts'
""")
con.execute("""
UPDATE app_templates
SET create_script = '/tools/new-static-site-app.sh',
deploy_script = '/tools/deploy-app.sh'
deploy_script = '/tools/deploy-app.sh',
create_enabled = 0
WHERE id = 'static-site'
""")