prepartions for multi db support