Init scripts folder lack

Hello,

I saw that my project doesn’t have init scripts. Only 20 update. If I create a new empty database the project database tables are populated after (run) update.
Is it ok? Should I manually create init scripts?

Regards,
-n

Hi,
Do you have any entities in your project?

What happens if you invoke CUBA -> Generate Database Scripts from main menu?
This dialog should show “Init Tables” with tables creation.
Then if you press “Save and close” - then init scripts will be saved.

Hi,

It works perfectly now.
I thought that generates DB init sript is done automatically.
However now can I delete the update scripts (meantime a lot has been gathered…)?

Yes, you can delete them.