Add back the sequelize specific code in main/prmise_array