Script to generate DB structure as per model