refactor(database): consolidate shared database base and fix foreign key schema references cd357c6 MukeshKapoor25 commited on Dec 18, 2025