Skip to content

fix(db): ensure seed and migrate scripts work on Windows (#8)#10

Open
qwan30 wants to merge 1 commit into
Zleap-AI:mainfrom
qwan30:pr-upstream-fix-seed
Open

fix(db): ensure seed and migrate scripts work on Windows (#8)#10
qwan30 wants to merge 1 commit into
Zleap-AI:mainfrom
qwan30:pr-upstream-fix-seed

Conversation

@qwan30

@qwan30 qwan30 commented Jul 8, 2026

Copy link
Copy Markdown

This PR fixes issue #8.%0A%0AChanges:%0A- Replaced broken main-module guards in seed.ts, migrate.ts, server.ts with a cross-platform approach.%0A- Added auto-seed fallback in repositories.ts to gracefully handle missing entity_types.%0A- Added tests in test/seed.test.ts to validate seed logic.

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