[bug 996059] Create the db model for the unavailability feature.