changed init.rb again. now it is check if custom_fields table exists before creating entries in it