Fix database project build

:warning: :alarm_clock: **DO NOT MERGE THIS YET** :alarm_clock: :warning: