Эх сурвалжийг харах

HUE-5742 [core] Set default schema to public

cconner 8 жил өмнө
parent
commit
1c42cc0

+ 1 - 1
desktop/conf.dist/hue.ini

@@ -566,7 +566,7 @@
     ## name=desktop/desktop.db
     ## options={}
     # Database schema, to be used only when public schema is revoked in postgres
-    ## schema=
+    ## schema=public
 
   # Configuration options for specifying the Desktop session.
   # For more info, see https://docs.djangoproject.com/en/1.4/topics/http/sessions/

+ 1 - 1
desktop/conf/pseudo-distributed.ini.tmpl

@@ -1438,7 +1438,7 @@
       ## options={}
 
       # Database schema, to be used only when public schema is revoked in postgres
-      ## schema=
+      ## schema=public
 
 ###########################################################################
 # Settings to configure SAML

+ 1 - 1
desktop/core/src/desktop/conf.py

@@ -603,7 +603,7 @@ DATABASE = ConfigSection(
       key='schema',
       help=_('Database schema, to be used only when public schema is revoked in postgres.'),
       type=str,
-      default='',
+      default='public',
     ),
     PASSWORD=Config(
       key='password',