fix(deploy): transpile migrations to JS for production compatibility
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 11s
Build & Deploy / 🧪 QA (push) Successful in 5m3s
Build & Deploy / 🏗️ Build (push) Successful in 7m14s
Build & Deploy / 🚀 Deploy (push) Failing after 32s
Build & Deploy / 🧪 Post-Deploy Verification (push) Has been skipped
Build & Deploy / 🔔 Notify (push) Successful in 2s

This commit is contained in:
2026-03-11 00:26:46 +01:00
parent afa586c833
commit ff269b1f84
2 changed files with 6 additions and 2 deletions

View File

@@ -7,7 +7,6 @@ import sharp from "sharp";
import path from "path";
import { fileURLToPath } from "url";
import { payloadBlocks } from "./blocks/allBlocks";
import { migrations } from "../../migrations/index";
import { Users } from "./collections/Users";
import { Media } from "./collections/Media";
@@ -41,7 +40,6 @@ export default buildConfig({
outputFile: path.resolve(dirname, "payload-types.ts"),
},
db: postgresAdapter({
migrations,
pool: {
connectionString:
process.env.DATABASE_URI ||