Added index on coral_resource(created_by) to allow counting resources
created by users efficiently.