Updated DB model

-Added the index table.