My configuration is set to
development {
dataSource {
dbCreate = "create-drop" // one of 'create', 'create-drop','update'
url = "***"
}
}
I was thinking that this would drop all tables and hence all records and recreate all the tables again but when i build the app and check the records in the tables through phpmyadmin i can see the records not being deleted. All the records are there. Shouldn't all the tables be empty after building with this configuration? Thanks for the help!
I looked at the log file and it reports the following error:
It looks like it encountered errors when trying to delete the tables namely composite event and race registration but my dilemma is why would it encounter error when dropping tables. The create-drop configuration setting according to my assumption would drop all tables and create all tables. Please correct my misunderstandings. I appreciate the help. Thanks!