Fix migration not creating tables

We added an explicit table definition, otherwise the table was not created and the plug-in was not working correctly.