backstage-plugin-qeta icon indicating copy to clipboard operation
backstage-plugin-qeta copied to clipboard

feat: database initialization in local env

Open drodil opened this issue 3 years ago • 2 comments

To ease the development, there should be a way to populate the local database with questions and answers.

drodil avatar Dec 27 '22 13:12 drodil

@drodil Were you thinking about a pre-populated database for development? Or some route/button ta generates dummy data?

leonarhv avatar Jan 31 '23 03:01 leonarhv

Yes exactly something like that. It always takes time to get to work with this plugin especially with memory only database, so this kind of feature would be very helpful.

drodil avatar Jan 31 '23 05:01 drodil

There's now testdata.sql in the root but it must be manually run and doesn't contain that much data yet. But it's a start. Maybe it would be nice to have a script to run it in from the command line..

drodil avatar Oct 19 '24 13:10 drodil