Skip to content

Drop the module tables and the Plane mapping that filled them #417

Closed

Description

@imshashank

Decided on #196: Orbit does not want modules. Projects, milestones and sprints cover the mid-sized grouping, there is no Plane import any more, and nothing reads the four tables.

What to do

  • Remove module, module_member, module_issue and module_link from packages/db/src/schema/work.ts, generate the migration, and add it to the catchup path the way other schema changes do.
  • Remove the module mapping from packages/db/src/import/plane-source.ts and build-project.ts, and the module handling in scripts/fetch-plane.ts.
  • Remove the schema existence assertions for them in packages/db/tests/schema/index.test.ts.
  • Note in docs/self-hosting.md that the migration drops four unused tables, for anyone who imported from Plane before fix(db): quarantine unsafe importer tooling #287.

intake and intake_issue stay until #197 decides their shape.

Activity

  1. added
    good first issue
    help wanted
    ready
    area: database
    dead code
    size: small
    points: 2
    schema change
    on Sep 6, 2026
  2. ayam04 commented on Sep 18, 2026

    @ayam04
    Contributor

    Taking this one. Plan:

    • Remove module, module_member, module_issue and module_link from packages/db/src/schema/work.ts and generate the migration.
    • Add a packages/db/catchup script for databases that will not run it through the ledger, with the idempotency test the other catchups carry, and note it in docs/self-hosting.md for anyone who imported from Plane before fix(db): quarantine unsafe importer tooling #287.
    • Remove the module mapping from plane-source.ts, build-project.ts and the module handling in scripts/fetch-plane.ts.
    • Update the schema existence assertions in packages/db/tests/schema/index.test.ts.

    intake and intake_issue stay untouched, per #197. Will open the PR once the gates are clean.

  3. added a commit that references this issue on Sep 21, 2026
    91bd18f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: databasedead codegood first issuehelp wantedpoints: 2readyschema changesize: small

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions