Index: openacs-4/packages/new-portal/new-portal.info
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/new-portal/new-portal.info,v
diff -u -r1.43 -r1.44
--- openacs-4/packages/new-portal/new-portal.info 9 Jul 2018 16:36:43 -0000 1.43
+++ openacs-4/packages/new-portal/new-portal.info 11 Jul 2018 16:32:40 -0000 1.44
@@ -8,15 +8,15 @@
t
portal
-
+
OpenACS
Portals.
2017-08-06
DotLRN Consortium
2
New Portal Package aka NPP. Portals are used to aggregate content from different sources within a single page. Props to Ian Baker for "Portal".
-
+
Index: openacs-4/packages/new-portal/sql/postgresql/objects-create.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/new-portal/sql/postgresql/objects-create.sql,v
diff -u -r1.5 -r1.6
--- openacs-4/packages/new-portal/sql/postgresql/objects-create.sql 9 Jul 2018 16:36:44 -0000 1.5
+++ openacs-4/packages/new-portal/sql/postgresql/objects-create.sql 11 Jul 2018 16:32:40 -0000 1.6
@@ -26,8 +26,8 @@
'Portal Data Source',
'Portal Data Sources',
'acs_object',
- 'PORTAL_DATASOURCES',
- 'DATASOURCE_ID',
+ 'portal_datasources',
+ 'datasource_id',
'portal_datasource',
'f',
null,
@@ -73,8 +73,8 @@
'Portal Layout',
'Portal Layouts',
'acs_object',
- 'PORTAL_LAYOUTS',
- 'LAYOUT_ID',
+ 'portal_layouts',
+ 'layout_id',
'portal_layout',
'f',
null,
@@ -152,8 +152,8 @@
'Portal Element Theme',
'Portal Element Themes',
'acs_object',
- 'PORTAL_ELEMENT_THEMES',
- 'THEME_ID',
+ 'portal_element_themes',
+ 'theme_id',
'portal_element_theme',
'f',
null,
@@ -231,8 +231,8 @@
'Portal',
'Portals',
'acs_object',
- 'PORTALS',
- 'PORTAL_ID',
+ 'portals',
+ 'portal_id',
'portal',
'f',
null,
@@ -261,7 +261,7 @@
'Portal Page',
'Portal Pages',
'acs_object',
- 'PORTAL_PAGES',
+ 'portal_pages',
'page_id',
'portal_page',
'f',
Index: openacs-4/packages/new-portal/sql/postgresql/upgrade/upgrade-2.10.0d1-2.10.0d2.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/new-portal/sql/postgresql/upgrade/upgrade-2.10.0d1-2.10.0d2.sql,v
diff -u
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ openacs-4/packages/new-portal/sql/postgresql/upgrade/upgrade-2.10.0d1-2.10.0d2.sql 11 Jul 2018 16:32:40 -0000 1.1
@@ -0,0 +1,14 @@
+
+
+DO $$
+BEGIN
+ update acs_object_types set
+ table_name = lower(table_name),
+ id_column = lower(id_column)
+ where object_type in (
+ 'portal_datasource',
+ 'portal_layout',
+ 'portal_element_theme',
+ 'portal',
+ 'portal_page');
+END$$;