feat(economy): update database configuration to use Xata for primary and shadow databases

This commit is contained in:
2025-10-05 04:43:46 -05:00
parent 8aa7e649e7
commit 8afd897087
9 changed files with 4 additions and 635 deletions

View File

@@ -10,9 +10,12 @@ generator client {
datasource db {
provider = "postgresql"
url = env("DATABASE_URL")
url = env("XATA_DB")
shadowDatabaseUrl = env("XATA_SHADOW_DB")
}
/**
* -----------------------------------------------------------------------------
* Modelo para el Servidor (Guild)