Database tables for warehouse formed