fixed db schema for cart index