diff --git a/content/posts/2018-10.md b/content/posts/2018-10.md index 003d311a1..b2c33346c 100644 --- a/content/posts/2018-10.md +++ b/content/posts/2018-10.md @@ -290,4 +290,12 @@ $ psql -h localhost -U postgres -f ~/src/git/DSpace/dspace/etc/postgres/update-s $ psql -h localhost -U postgres dspacetest -c 'alter user dspacetest nosuperuser;' ``` +## 2018-10-16 + +- Generate a list of the schema on CGSpace so CodeObia can compare with MELSpace: + +``` +dspace=# \copy (SELECT (CASE when metadata_schema_id=1 THEN 'dc' WHEN metadata_schema_id=2 THEN 'cg' END) AS schema, element, qualifier, scope_note FROM metadatafieldregistry where metadata_schema_id IN (1,2)) TO /tmp/cgspace-schema.csv WITH CSV HEADER; +``` + diff --git a/docs/2018-10/index.html b/docs/2018-10/index.html index 16eef5d82..145ea83af 100644 --- a/docs/2018-10/index.html +++ b/docs/2018-10/index.html @@ -9,7 +9,7 @@ - + @@ -24,9 +24,9 @@ "@type": "BlogPosting", "headline": "October, 2018", "url": "https://alanorth.github.io/cgspace-notes/2018-10/", - "wordCount": "2088", + "wordCount": "2132", "datePublished": "2018-10-01T22:31:54+03:00", - "dateModified": "2018-10-15T16:03:02+03:00", + "dateModified": "2018-10-15T17:26:03+03:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -426,6 +426,15 @@ $ psql -h localhost -U postgres -f ~/src/git/DSpace/dspace/etc/postgres/update-s $ psql -h localhost -U postgres dspacetest -c 'alter user dspacetest nosuperuser;' +
dspace=# \copy (SELECT (CASE when metadata_schema_id=1 THEN 'dc' WHEN metadata_schema_id=2 THEN 'cg' END) AS schema, element, qualifier, scope_note FROM metadatafieldregistry where metadata_schema_id IN (1,2)) TO /tmp/cgspace-schema.csv WITH CSV HEADER;
+
+
diff --git a/docs/sitemap.xml b/docs/sitemap.xml
index fbaf7f012..e471628ce 100644
--- a/docs/sitemap.xml
+++ b/docs/sitemap.xml
@@ -4,7 +4,7 @@