Skip to content

Conversation

svetch
Copy link
Contributor

@svetch svetch commented Sep 23, 2025

Summary

This PR introduces db pull support to zenstack_v3, similar to Prisma’s db pull.
The command enables introspection of the database schema and generates corresponding models within the project.

Current Status

  • ✅ Initial implementation of db pull command
  • ✅ Relation resolving logic
  • 📝 Implement diff update on db pull
  • 📝 improve logging
  • 📝 Need to determine the best approach for testing

Next Steps

  • Finalize relation resolution in introspection results
  • Add automated tests?

Notes

  • I appreciate any feedback, suggestions, or requests for changes 🙏

Copy link

coderabbitai bot commented Sep 23, 2025

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

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