dx: realistic seed data script for local development#393
Merged
0xVida merged 1 commit intoStellar-Fluid:mainfrom Mar 30, 2026
Merged
dx: realistic seed data script for local development#3930xVida merged 1 commit intoStellar-Fluid:mainfrom
0xVida merged 1 commit intoStellar-Fluid:mainfrom
Conversation
|
@BernardOnuh Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
Contributor
|
🎉 This PR is included in version 1.21.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
dx: realistic seed data script for local development
Closes #223
Summary
Extends
prisma/seed.tswith a realistic dataset for local development and demo purposes. Working with an empty database makes it impossible to effectively develop and test UI features like charts, tables, and dashboards.What's seeded
Acceptance criteria
npm run db:seed(already wired inpackage.json)Implementation notes
tenant-test-001,tenant-test-002) and their API keys are preserved unchangedupsertPrismaBetterSqlite3,createLogger)How to test
cd server npm run db:seedExpected log output: