feat: add subscription and transaction repositories
- Implemented SubscriptionRepository with methods to get, create, and update subscriptions. - Added BalanceTXRepository for creating and retrieving balance transactions. - Introduced a test script for simulating Pally webhook for local testing.
This commit is contained in:
@@ -3,6 +3,7 @@ services:
|
||||
image: postgres:16-alpine
|
||||
container_name: maleniabot_db
|
||||
environment:
|
||||
TZ: UTC
|
||||
POSTGRES_USER: ${POSTGRES_USER:-malenia}
|
||||
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-malenia_password}
|
||||
POSTGRES_DB: ${POSTGRES_DB:-malenia_db}
|
||||
@@ -28,6 +29,7 @@ services:
|
||||
postgres:
|
||||
condition: service_healthy
|
||||
environment:
|
||||
TZ: UTC
|
||||
BOT_TOKEN: ${BOT_TOKEN}
|
||||
POSTGRES_URL: postgresql+asyncpg://${POSTGRES_USER:-malenia}:${POSTGRES_PASSWORD:-malenia_password}@postgres:5432/${POSTGRES_DB:-malenia_db}
|
||||
PROXY: ${PROXY:-}
|
||||
@@ -51,6 +53,7 @@ services:
|
||||
postgres:
|
||||
condition: service_healthy
|
||||
environment:
|
||||
TZ: UTC
|
||||
BOT_TOKEN: ${BOT_TOKEN}
|
||||
POSTGRES_URL: postgresql+asyncpg://${POSTGRES_USER:-malenia}:${POSTGRES_PASSWORD:-malenia_password}@postgres:5432/${POSTGRES_DB:-malenia_db}
|
||||
PROXY: ${PROXY:-}
|
||||
|
||||
Reference in New Issue
Block a user