BS-8969, update database schema for mutliple references