Avoid Hand Coding SQL
 
database forward engineer thumbnail
Use generated scripts
to apply changes