Adding database flags