Beeing able to (re)generate demo data

Hi everyone,

After using the spec app creator, the initial app has default data, which is good. But as soon as you modify any data structure (let’s say, I add a column and a reference) those demo data becomes obsolete and there’s no way to recreate them. I have to create them by using the app as a user which is not the fastest way to test/create/edit the app.

A button “Regenerate demo data” (or “Re-Create data fixtures” as is it called in PHP projects) could d the trick. No need to customize it, just fill a ton of data so we can test the project quickly.

Thanks 😃

Status Open
1 4 160
4 Comments
Steve
Platinum 4
Platinum 4
Quentin_Decaune
New Member
  1. Not as easy as a built-in feature but thanks for the workaround
  2. How do you handle refs?
Status changed to: Open
Pratyusha
Community Manager
Community Manager
 
dbaum
Gold 4
Gold 4

@Quentin_Decaune , did you figure out how to handle refs? I've started using the suggested Mockaroo, and it looks like you can save a dataset (e.g., parent IDs) to reference in another dataset (e.g., child table that includes parent IDs). Did that technique or something else work for you?