aligned coalId column name on all tables and php files involved

I hope I did not brake anything but it looks good and your code was
always refering to coalId as well so we should be fine.