fixed some messages

added support for enum fields (from handtwerk/sugar)
added function to recreate the tables from the application