Skip to content

feat(db): add migrations for auth, task, and legacy tables#113

Merged
alexmontesg merged 5 commits into
mainfrom
documentation/GH-112-quickstart-pg-u
Jul 7, 2026
Merged

feat(db): add migrations for auth, task, and legacy tables#113
alexmontesg merged 5 commits into
mainfrom
documentation/GH-112-quickstart-pg-u

Conversation

@alexmontesg

Copy link
Copy Markdown
Contributor

Adds sequelize migrations for the auth schema (better-auth tables), weavejs_task, and legacy weavejs_connection/thread/image/video tables. Updates README with PostgreSQL setup steps and fixes vite alias for weave-sdk/server to resolve to index.node.ts.

@alexmontesg alexmontesg requested a review from jesusmpc July 6, 2026 10:58
Adds sequelize migrations for the auth schema (better-auth tables),
weavejs_task, and legacy weavejs_connection/thread/image/video tables.
Updates README with PostgreSQL setup steps and fixes vite alias for
weave-sdk/server to resolve to index.node.ts.
@alexmontesg alexmontesg force-pushed the documentation/GH-112-quickstart-pg-u branch from fddb875 to 8a73421 Compare July 7, 2026 06:24
@alexmontesg alexmontesg requested a review from Copilot July 7, 2026 06:26

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds Sequelize migrations to bootstrap PostgreSQL schemas/tables required by better-auth, the workloads/task system, and several legacy Weave.js tables, and updates local-dev documentation and Vite path aliasing to support running the backend against a local DB and a local weavejs repo checkout.

Changes:

  • Add migrations for auth schema (better-auth tables), weavejs_task, and legacy weavejs_* tables (connections/threads/media).
  • Update Quickstart to include PostgreSQL env vars and local migration steps.
  • Fix Vite alias for @inditextech/weave-sdk/server to resolve to the Node entry (index.node.ts).

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
README.md Documents local PostgreSQL env vars and adds steps to start DB + run migrations.
code/vite.config.js Adjusts weave-sdk server alias to target sdk/src/index.node.ts.
code/migrations/20251118164400-feature-auth.cjs Creates auth schema + better-auth tables via raw SQL.
code/migrations/20251118164500-feature-task.cjs Adds weavejs_task table migration.
code/migrations/20251118164550-feature-legacy-sequelize-tables.cjs Adds legacy tables for connections/threads/images/videos.

Comment thread code/migrations/20251118164400-feature-auth.cjs Outdated
Comment thread code/migrations/20251118164400-feature-auth.cjs Outdated
Comment thread code/migrations/20251118164400-feature-auth.cjs Outdated
Comment thread code/migrations/20251118164400-feature-auth.cjs Outdated
Comment thread README.md Outdated
Comment thread README.md Outdated
@alexmontesg alexmontesg force-pushed the documentation/GH-112-quickstart-pg-u branch from bdbd921 to eb6a5a5 Compare July 7, 2026 08:36
Comment thread README.md Outdated
@alexmontesg alexmontesg force-pushed the documentation/GH-112-quickstart-pg-u branch from bb1ef85 to cd8b844 Compare July 7, 2026 09:04
Local .env is gitignored so new contributors had no reference for
required config keys. Un-ignore .env.example specifically.
@alexmontesg alexmontesg force-pushed the documentation/GH-112-quickstart-pg-u branch from cd8b844 to d64f187 Compare July 7, 2026 09:05
@sonarqubecloud

sonarqubecloud Bot commented Jul 7, 2026

Copy link
Copy Markdown

@alexmontesg alexmontesg merged commit fbfc056 into main Jul 7, 2026
11 checks passed
@alexmontesg alexmontesg deployed to azure-develop July 7, 2026 09:22 — with GitHub Actions Active
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.

3 participants