Revision 7194
Added by ben leinfelder over 12 years ago
upgrade-db-to-2.0.0-postgres.sql | ||
---|---|---|
169 | 169 |
*/ |
170 | 170 |
ALTER TABLE xml_path_index ALTER COLUMN path TYPE text; |
171 | 171 |
|
172 |
/** |
|
173 |
* include 2.0.0beta4 DTD |
|
174 |
*/ |
|
175 |
INSERT INTO xml_catalog (entry_type, public_id, system_id) |
|
176 |
VALUES ('DTD', '-//ecoinformatics.org//eml-access-@eml-beta4-version@//EN', |
|
177 |
'/dtd/eml-access-@eml-beta4-version@.dtd'); |
|
178 |
INSERT INTO xml_catalog (entry_type, public_id, system_id) |
|
179 |
VALUES ('DTD', '-//ecoinformatics.org//eml-attribute-@eml-beta4-version@//EN', |
|
180 |
'/dtd/eml-attribute-@eml-beta4-version@.dtd'); |
|
181 |
INSERT INTO xml_catalog (entry_type, public_id, system_id) |
|
182 |
VALUES ('DTD', '-//ecoinformatics.org//eml-constraint-@eml-beta4-version@//EN', |
|
183 |
'/dtd/eml-constraint-@eml-beta4-version@.dtd'); |
|
184 |
INSERT INTO xml_catalog (entry_type, public_id, system_id) |
|
185 |
VALUES ('DTD', '-//ecoinformatics.org//eml-coverage-@eml-beta4-version@//EN', |
|
186 |
'/dtd/eml-coverage-@eml-beta4-version@.dtd'); |
|
187 |
INSERT INTO xml_catalog (entry_type, public_id, system_id) |
|
188 |
VALUES ('DTD', '-//ecoinformatics.org//eml-dataset-@eml-beta4-version@//EN', |
|
189 |
'/dtd/eml-dataset-@eml-beta4-version@.dtd'); |
|
190 |
INSERT INTO xml_catalog (entry_type, public_id, system_id) |
|
191 |
VALUES ('DTD', '-//ecoinformatics.org//eml-entity-@eml-beta4-version@//EN', |
|
192 |
'/dtd/eml-entity-@eml-beta4-version@.dtd'); |
|
193 |
INSERT INTO xml_catalog (entry_type, public_id, system_id) |
|
194 |
VALUES ('DTD', '-//ecoinformatics.org//eml-literature-@eml-beta4-version@//EN', |
|
195 |
'/dtd/eml-literature-@eml-beta4-version@.dtd'); |
|
196 |
INSERT INTO xml_catalog (entry_type, public_id, system_id) |
|
197 |
VALUES ('DTD', '-//ecoinformatics.org//eml-physical-@eml-beta4-version@//EN', |
|
198 |
'/dtd/eml-physical-@eml-beta4-version@.dtd'); |
|
199 |
INSERT INTO xml_catalog (entry_type, public_id, system_id) |
|
200 |
VALUES ('DTD', '-//ecoinformatics.org//eml-project-@eml-beta4-version@//EN', |
|
201 |
'/dtd/eml-project-@eml-beta4-version@.dtd'); |
|
202 |
INSERT INTO xml_catalog (entry_type, public_id, system_id) |
|
203 |
VALUES ('DTD', '-//ecoinformatics.org//eml-protocol-@eml-beta4-version@//EN', |
|
204 |
'/dtd/eml-protocol-@eml-beta4-version@.dtd'); |
|
205 |
INSERT INTO xml_catalog (entry_type, public_id, system_id) |
|
206 |
VALUES ('DTD', '-//ecoinformatics.org//eml-software-@eml-beta4-version@//EN', |
|
207 |
'/dtd/eml-software-@eml-beta4-version@.dtd'); |
|
208 |
|
|
172 | 209 |
/* |
173 | 210 |
* update the database version |
174 | 211 |
*/ |
Also available in: Unified diff
include eml2.0.0beta4 DTD during Metacat build so that we can continue to accept (and validate) beta4 documents.
This arose when testing Metacat as DataONE Coordinating Node where legacy documents are being housed in the CN.