Migration script in place
This commit is contained in:
14
config/postgres.yaml.example
Normal file
14
config/postgres.yaml.example
Normal 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"
|
||||
Reference in New Issue
Block a user