Ghost can now handle a different schema than the default 'public' in PostgreSQL
Ghost can now handle a different schema than the default 'public' in PostgreSQL

closes #5891
- use CURRENT_SCHEMA() instead of 'public'
- remove the WHERE condition

load11/ghost,PeterCxy/Ghost,epicmiller/pages,jorgegilmoreira/ghost,janvt/Ghost,riyadhalnur/Ghost,duyetdev/islab,TryGhost/Ghost,ballPointPenguin/Ghost,SachaG/bjjbot-blog,augbog/Ghost,cwonrails/Ghost,hnarayanan/narayanan.co,tidyui/Ghost,jorgegilmoreira/ghost,ManRueda/manrueda-blog,javorszky/Ghost,disordinary/Ghost,klinker-apps/ghost,augbog/Ghost,petersucks/blog,Kaenn/Ghost,acburdine/Ghost,sebgie/Ghost,leonli/ghost,pollbox/ghostblog,atandon/Ghost,telco2011/Ghost,jamesslock/Ghost,e10/Ghost,singular78/Ghost,load11/ghost,daihuaye/Ghost,duyetdev/islab,lf2941270/Ghost,NovaDevelopGroup/Academy,AlexKVal/Ghost,etanxing/Ghost,patterncoder/patterncoder,Kikobeats/Ghost,kaychaks/kaushikc.org,hnarayanan/narayanan.co,obsoleted/Ghost,stridespace/Ghost,barbastan/Ghost,dqj/Ghost,kevinansfield/Ghost,letsjustfixit/Ghost,leonli/ghost,allanjsx/Ghost,petersucks/blog,leonli/ghost,karmakaze/Ghost,ckousik/Ghost,virtuallyearthed/Ghost,NovaDevelopGroup/Academy,jomahoney/Ghost,denzelwamburu/denzel.xyz,JohnONolan/Ghost,bitjson/Ghost,Elektro1776/javaPress,anijap/PhotoGhost,STANAPO/Ghost,Xibao-Lv/Ghost,lukekhamilton/Ghost,vainglori0us/urban-fortnight,telco2011/Ghost,ngosinafrica/SiteForNGOs,veyo-care/Ghost,stridespace/Ghost,Japh/shortcoffee,akveo/akveo-blog,ckousik/Ghost,novaugust/Ghost,e10/Ghost,carlyledavis/Ghost,jgillich/Ghost,telco2011/Ghost,dbalders/Ghost,mayconxhh/Ghost,tidyui/Ghost,TryGhost/Ghost,daimaqiao/Ghost-Bridge,ballPointPenguin/Ghost,ashishapy/ghostpy,jgillich/Ghost,Gargol/Ghost,Japh/Ghost,acburdine/Ghost,TryGhost/Ghost,dggr/Ghost-sr,bosung90/Ghost,Kikobeats/Ghost,GarrethDottin/Habits-Design,klinker-apps/ghost,anijap/PhotoGhost,barbastan/Ghost,jorgegilmoreira/ghost,carlyledavis/Ghost,novaugust/Ghost,dggr/Ghost-sr,ghostchina/Ghost-zh,cwonrails/Ghost,ManRueda/manrueda-blog,sangcu/Ghost,JohnONolan/Ghost,javorszky/Ghost,stridespace/Ghost,Yarov/yarov,weareleka/blog,adam-paterson/blog,edsadr/Ghost,JulienBrks/Ghost,GroupxDev/javaPress,rizkyario/Ghost,epicmiller/pages,sebgie/Ghost,lukekhamilton/Ghost,veyo-care/Ghost,Smile42RU/Ghost,Smile42RU/Ghost,dbalders/Ghost,vainglori0us/urban-fortnight,cicorias/Ghost,pollbox/ghostblog,olsio/Ghost,Trendy/Ghost,ghostchina/Ghost-zh,dqj/Ghost,velimir0xff/Ghost,RufusMbugua/TheoryOfACoder,JonSmith/Ghost,JonSmith/Ghost,Kikobeats/Ghost,jaswilli/Ghost,lukaszklis/Ghost,sunh3/Ghost,ignasbernotas/nullifer,janvt/Ghost,acburdine/Ghost,dggr/Ghost-sr,weareleka/blog,panezhang/Ghost,Elektro1776/javaPress,AlexKVal/Ghost,SachaG/bjjbot-blog,sebgie/Ghost,GroupxDev/javaPress,syaiful6/Ghost,Japh/Ghost,Japh/shortcoffee,disordinary/Ghost,JohnONolan/Ghost,sangcu/Ghost,letsjustfixit/Ghost,GroupxDev/javaPress,singular78/Ghost,akveo/akveo-blog,kevinansfield/Ghost,daimaqiao/Ghost-Bridge,Gargol/Ghost,olsio/Ghost,zumobi/Ghost,Kaenn/Ghost,davidmenger/nodejsfan,GarrethDottin/Habits-Design,wemakeweb/Ghost,allanjsx/Ghost,zumobi/Ghost,daimaqiao/Ghost-Bridge,obsoleted/Ghost,ignasbernotas/nullifer,mohanambati/Ghost,MadeOnMars/Ghost,BlueHatbRit/Ghost,bitjson/Ghost,delgermurun/Ghost,jomahoney/Ghost,patterncoder/patterncoder,jamesslock/Ghost,karmakaze/Ghost,Elektro1776/javaPress,virtuallyearthed/Ghost,riyadhalnur/Ghost,ManRueda/manrueda-blog,cicorias/Ghost,allanjsx/Ghost,Trendy/Ghost,benstoltz/Ghost,handcode7/Ghost,MadeOnMars/Ghost,bosung90/Ghost,SkynetInc/steam,etanxing/Ghost,daihuaye/Ghost,mayconxhh/Ghost,wemakeweb/Ghost,letsjustfixit/Ghost,davidmenger/nodejsfan,kaychaks/kaushikc.org,RufusMbugua/TheoryOfACoder,ashishapy/ghostpy,lf2941270/Ghost,madole/diverse-learners,kevinansfield/Ghost,jaswilli/Ghost,ivantedja/ghost,notno/Ghost,mohanambati/Ghost,velimir0xff/Ghost,rizkyario/Ghost,syaiful6/Ghost,leninhasda/Ghost,ErisDS/Ghost,Xibao-Lv/Ghost,handcode7/Ghost,panezhang/Ghost,cwonrails/Ghost,BlueHatbRit/Ghost,madole/diverse-learners,dbalders/Ghost,STANAPO/Ghost,novaugust/Ghost,chris-yoon90/Ghost,delgermurun/Ghost,adam-paterson/blog,singular78/Ghost,benstoltz/Ghost,ErisDS/Ghost,vainglori0us/urban-fortnight,ngosinafrica/SiteForNGOs,Yarov/yarov,leninhasda/Ghost,sunh3/Ghost,mohanambati/Ghost,chris-yoon90/Ghost,NovaDevelopGroup/Academy,Kaenn/Ghost,lukaszklis/Ghost,notno/Ghost,edsadr/Ghost,denzelwamburu/denzel.xyz,SkynetInc/steam,chevex/undoctrinate,rizkyario/Ghost,JulienBrks/Ghost,ErisDS/Ghost,atandon/Ghost,PeterCxy/Ghost