Change where backend is looking for the migrations
All checks were successful
Podman Rootless Demo / test-backend (push) Has been skipped
Podman Rootless Demo / test-frontend (push) Has been skipped
Podman Rootless Demo / build-backend (push) Successful in 5m16s
Podman Rootless Demo / build-frontend (push) Has been skipped
Podman Rootless Demo / deploy-prod (push) Successful in 58s

This commit is contained in:
continuist 2025-09-21 21:16:08 -04:00
parent 54245f1c3a
commit 69ebda5e3d
2 changed files with 2 additions and 2 deletions

View file

@ -12,8 +12,8 @@ WORKDIR /app
# Copy Cargo files and migrations
COPY Cargo.toml Cargo.lock ./
COPY crates/ ./crates/
COPY migrations/ ./migrations/
COPY crates/ ./crates/
# Build dependencies first (for better caching)
RUN cargo build --release --bin sharenet-api-postgres

View file

@ -26,7 +26,7 @@ async fn main() -> anyhow::Result<()> {
.await?;
// Run database migrations
sqlx::migrate!("../../../migrations")
sqlx::migrate!("../../migrations")
.run(&pool)
.await?;