Skip to content

chore: add root db:migrate and db:generate scripts - #103

Merged
Gift-Stack merged 1 commit into
mainfrom
chore/root-db-migrate-scripts
Sep 20, 2026
Merged

Gift-Stack merged 1 commit into
mainfrom
chore/root-db-migrate-scripts

Conversation

@Gift-Stack

Copy link
Copy Markdown
Contributor

Run Drizzle migrations from the repo root instead of cd apps/backend first.

npm run db:migrate    # apply pending migrations to DATABASE_URL
npm run db:generate   # write a new migration from a schema.ts change

Both are thin workspace passthroughs to @xend/backend (same pattern as the existing dev:mobile script), so behaviour is unchanged. This is the command to run after pulling schema changes (e.g. the 0053–0055 migrations that just landed) when the backend errors with a missing column.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 20, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-20T18:54:14.944295Z ca258b4 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@Gift-Stack
Gift-Stack merged commit 0c39b9f into main Sep 20, 2026
3 checks passed
@Gift-Stack
Gift-Stack deleted the chore/root-db-migrate-scripts branch September 20, 2026 18:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant