You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Drop the module tables and the Plane mapping that filled them #417
area: databaseSchema, migrations, queries, seeddead codeSchema or code that ships but nothing usesgood first issueSmall, well scoped, with the file paths written downhelp wantedWe would love a hand with this onepoints: 2Fibonacci estimate: 2readyScoped, agreed, and safe to pick upschema changeAdds, drops or alters a table. Migrations are applied by hand before the code shipssize: smallA sitting. One file or two, the fix is written in the issue
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.
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.
area: databaseSchema, migrations, queries, seeddead codeSchema or code that ships but nothing usesgood first issueSmall, well scoped, with the file paths written downhelp wantedWe would love a hand with this onepoints: 2Fibonacci estimate: 2readyScoped, agreed, and safe to pick upschema changeAdds, drops or alters a table. Migrations are applied by hand before the code shipssize: smallA sitting. One file or two, the fix is written in the issue
Activity
ayam04 commentedon Sep 18, 2026
Taking this one. Plan:
module,module_member,module_issueandmodule_linkfrompackages/db/src/schema/work.tsand generate the migration.packages/db/catchupscript for databases that will not run it through the ledger, with the idempotency test the other catchups carry, and note it indocs/self-hosting.mdfor anyone who imported from Plane before fix(db): quarantine unsafe importer tooling #287.plane-source.ts,build-project.tsand the module handling inscripts/fetch-plane.ts.packages/db/tests/schema/index.test.ts.intakeandintake_issuestay untouched, per #197. Will open the PR once the gates are clean.chore(db): drop the module tables and the Plane mapping that filled t…