Migration script in place

This commit is contained in:
Jonas Linter
2025-10-16 16:56:27 +02:00
parent 38f3686948
commit e479381374
3 changed files with 472 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
# PostgreSQL configuration for migration
# Copy this file to postgres.yaml and fill in your PostgreSQL credentials
# This file should NOT be committed to git (add postgres.yaml to .gitignore)
database:
url: "postgresql+asyncpg://username:password@hostname:5432/database_name"
# Example: "postgresql+asyncpg://alpinebits_user:your_password@localhost:5432/alpinebits"
# If using annotatedyaml secrets:
# database:
# url: !secret POSTGRES_URL
#
# Then in secrets.yaml:
# POSTGRES_URL: "postgresql+asyncpg://username:password@hostname:5432/database_name"