Fixed issue with datetime default value for non MySQL platforms

Signed-off-by: Luke Spencer <luke@ethicall.org.uk>
Fixed issue with missing name in addForeignKeys function
Added table migration exclusions from build_properties

Signed-off-by: Luke Spencer <luke@ethicall.org.uk>