- Version des Moduls ccm-sci-publications auf 6.6.1 erhöht (wegen der Änderungen an der Datenbankstruktur aus Rev. 1207)
- Upgrade-Skript für ccm-sci-publications von Version 6.6.0 auf 6.6.1 git-svn-id: https://svn.libreccm.org/ccm/trunk@1208 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
401ba7e847
commit
f74c1bc729
|
|
@ -2,7 +2,7 @@
|
||||||
<ccm:application xmlns:ccm="http://ccm.redhat.com/ccm-project"
|
<ccm:application xmlns:ccm="http://ccm.redhat.com/ccm-project"
|
||||||
name="ccm-sci-publications"
|
name="ccm-sci-publications"
|
||||||
prettyName="OpenCCM Content Types"
|
prettyName="OpenCCM Content Types"
|
||||||
version="6.6.0"
|
version="6.6.1"
|
||||||
release="1"
|
release="1"
|
||||||
webapp="ROOT">
|
webapp="ROOT">
|
||||||
<ccm:dependencies>
|
<ccm:dependencies>
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,16 @@
|
||||||
|
create table cms_organizationalunits_publications_map (
|
||||||
|
orgaunit_id INTEGER not null,
|
||||||
|
-- referential constraint for orgaunit_id deferred due to circular dependencies
|
||||||
|
publication_id INTEGER not null,
|
||||||
|
-- referential constraint for publication_id deferred due to circular dependencies
|
||||||
|
publication_order INTEGER,
|
||||||
|
constraint cms_org_pub_map_org_id_p__dore
|
||||||
|
primary key(publication_id, orgaunit_id)
|
||||||
|
);
|
||||||
|
|
||||||
|
alter table cms_organizationalunits_publications_map add
|
||||||
|
constraint cms_org_pub_map_org_id_f_pe406 foreign key (orgaunit_id)
|
||||||
|
references cms_organizationalunits(organizationalunit_id);
|
||||||
|
alter table cms_organizationalunits_publications_map add
|
||||||
|
constraint cms_org_pub_map_pub_id_f_6udi3 foreign key (publication_id)
|
||||||
|
references ct_publications(publication_id);
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
\echo 'Scientific CMS Publications module 6.6.0 -> 6.6.1 Upgrade Script (PostgreSQL)'
|
||||||
|
|
||||||
|
begin;
|
||||||
|
|
||||||
|
\i ../default/upgrade/6.6.0-6.6.1/update-genericorgaunit-publication-assoc.sql
|
||||||
|
|
||||||
|
commit;
|
||||||
Loading…
Reference in New Issue