Set default foreign keys not to be null and put in conditional code for Railo when dropping a table