Dosu LogoDosu Logo
Ask
Join our Discord
Organization avatar
Mag StackerPublic
EvilBit Labs LLC
DocumentsMag Stacker
Migration Guide
Migration Guide
Type
Template
Status
Published
Created
Jul 18, 2026
Updated
Jul 18, 2026

Overview#

Describe what is being migrated (e.g., v1 to v2, old system to new system) and why.

Before You Start#

  • Back up your data
  • Review breaking changes below
  • Verify you meet the new prerequisites

Breaking Changes#

ChangeBeforeAfterAction Required
Example changeOld behaviorNew behaviorWhat to update

Migration Steps#

Step 1: Update dependencies#

# Example
npm install package@latest

Step 2: Update configuration#

Describe configuration changes needed.

Step 3: Update code#

Describe code changes needed, with before/after examples.

Before:

oldFunction(arg)

After:

newFunction(arg, options)

Step 4: Run migrations#

# Example
npm run migrate

Validation#

How to verify the migration was successful:

  1. Run the test suite
  2. Check key functionality
  3. Monitor logs for errors

Rollback#

If something goes wrong:

  1. Rollback step 1
  2. Rollback step 2

Known Issues#

  • Known issue and workaround
Documents
Untitled
0004-join-ordinal-for-deterministic-csv-order
0007-magpul-constraint-domain-layer-not-db
0008-magpul-mode-better-auth-additional-field
0009-org-plugin-hybrid-sharing
0010-defer-typescript-6-upgrade
2026-06-30-001-test-playwright-e2e-suite-plan
2026-07-01-001-feat-magpul-mode-label-constraint-plan
2026-07-01-002-feat-firearms-taxonomy-plan
2026-07-02-001-feat-firearm-nickname-plan
2026-07-03-001-feat-shot-count-tracking-plan
2026-07-03-002-feat-magazine-label-prefix-numbering-plan
2026-07-04-001-feat-firearm-magazine-detail-view-plan
2026-07-04-002-feat-data-table-view-controls-plan
2026-07-05-001-refactor-remove-shadcn-token-bridge-plan
2026-07-06-001-feat-inventory-log-plan
2026-07-06-002-feat-ammo-inventory-plan
2026-07-07-001-feat-accessories-tracker-plan
2026-07-09-001-feat-firearm-photo-management-plan
2026-07-11-001-feat-firearm-documents-plan
2026-07-12-001-feat-encryption-at-rest-backups-plan
2026-07-13-001-feat-magazine-last-inventoried-plan
2026-07-15-001-feat-structured-logging-plan
7-add-ammo-inventory-tracking-with-low-stock-alerts-and-summary-rollups
AGENTS
AI_POLICY
CLAUDE
CONCEPTS
CONTRIBUTING
DESIGN
FAQ
Firearm isMagazineFed Flag Reference
Getting Started Guide
Getting Started for Clubs and Ranges
Getting Started for Individuals
Glossary
How-To Guide
Integration Guide
Migration Guide
PRODUCT
README
README
README
RELEASE
Runbook
SKILL
STRATEGY
Troubleshooting Guide
bun-test-misloads-playwright-e2e-specs
deployment
e2e-dotenv-mise-clobbers-launcher-env
encryption-at-rest
num-helper-coerces-nan-to-zero-bypassing-ammo-validation
pino-worker-transport-flush-bun-cli-exit-code
prefix-collision-safe-token-renaming
sodium-native-nextjs16-serverexternalpackages
tanstack-autoreset-render-loop-unstable-data
template
timezone-fragile-date-boundary-tests