mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2025-01-11 14:33:21 +01:00
Add notes for 2016-04-07
This commit is contained in:
parent
1d3354bc26
commit
18c8e331ad
@ -70,3 +70,18 @@ UPDATE 40852
|
|||||||
|
|
||||||
- After that an `index-discovery -bf` is required
|
- After that an `index-discovery -bf` is required
|
||||||
- Start working on metadata migrations, add 25 or so new metadata fields to CGSpace
|
- Start working on metadata migrations, add 25 or so new metadata fields to CGSpace
|
||||||
|
|
||||||
|
## 2016-04-07
|
||||||
|
|
||||||
|
- Write shell script to do the migration of fields
|
||||||
|
- Testing with a few fields it seems to work well:
|
||||||
|
|
||||||
|
```
|
||||||
|
$ ./migrate-fields.sh
|
||||||
|
UPDATE metadatavalue SET metadata_field_id=109 WHERE metadata_field_id=66
|
||||||
|
UPDATE 40883
|
||||||
|
UPDATE metadatavalue SET metadata_field_id=202 WHERE metadata_field_id=72
|
||||||
|
UPDATE 21420
|
||||||
|
UPDATE metadatavalue SET metadata_field_id=203 WHERE metadata_field_id=76
|
||||||
|
UPDATE 51258
|
||||||
|
```
|
||||||
|
@ -153,6 +153,22 @@ UPDATE 40852
|
|||||||
<li>Start working on metadata migrations, add 25 or so new metadata fields to CGSpace</li>
|
<li>Start working on metadata migrations, add 25 or so new metadata fields to CGSpace</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
<h2 id="2016-04-07:c88be15f5b2f07c85f7742556a955e47">2016-04-07</h2>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>Write shell script to do the migration of fields</li>
|
||||||
|
<li>Testing with a few fields it seems to work well:</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<pre><code>$ ./migrate-fields.sh
|
||||||
|
UPDATE metadatavalue SET metadata_field_id=109 WHERE metadata_field_id=66
|
||||||
|
UPDATE 40883
|
||||||
|
UPDATE metadatavalue SET metadata_field_id=202 WHERE metadata_field_id=72
|
||||||
|
UPDATE 21420
|
||||||
|
UPDATE metadatavalue SET metadata_field_id=203 WHERE metadata_field_id=76
|
||||||
|
UPDATE 51258
|
||||||
|
</code></pre>
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
<footer>
|
<footer>
|
||||||
|
|
||||||
|
@ -90,6 +90,22 @@ UPDATE 40852
|
|||||||
<li>After that an <code>index-discovery -bf</code> is required</li>
|
<li>After that an <code>index-discovery -bf</code> is required</li>
|
||||||
<li>Start working on metadata migrations, add 25 or so new metadata fields to CGSpace</li>
|
<li>Start working on metadata migrations, add 25 or so new metadata fields to CGSpace</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
<h2 id="2016-04-07:c88be15f5b2f07c85f7742556a955e47">2016-04-07</h2>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>Write shell script to do the migration of fields</li>
|
||||||
|
<li>Testing with a few fields it seems to work well:</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<pre><code>$ ./migrate-fields.sh
|
||||||
|
UPDATE metadatavalue SET metadata_field_id=109 WHERE metadata_field_id=66
|
||||||
|
UPDATE 40883
|
||||||
|
UPDATE metadatavalue SET metadata_field_id=202 WHERE metadata_field_id=72
|
||||||
|
UPDATE 21420
|
||||||
|
UPDATE metadatavalue SET metadata_field_id=203 WHERE metadata_field_id=76
|
||||||
|
UPDATE 51258
|
||||||
|
</code></pre>
|
||||||
</description>
|
</description>
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
|
@ -90,6 +90,22 @@ UPDATE 40852
|
|||||||
<li>After that an <code>index-discovery -bf</code> is required</li>
|
<li>After that an <code>index-discovery -bf</code> is required</li>
|
||||||
<li>Start working on metadata migrations, add 25 or so new metadata fields to CGSpace</li>
|
<li>Start working on metadata migrations, add 25 or so new metadata fields to CGSpace</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
<h2 id="2016-04-07:c88be15f5b2f07c85f7742556a955e47">2016-04-07</h2>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>Write shell script to do the migration of fields</li>
|
||||||
|
<li>Testing with a few fields it seems to work well:</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<pre><code>$ ./migrate-fields.sh
|
||||||
|
UPDATE metadatavalue SET metadata_field_id=109 WHERE metadata_field_id=66
|
||||||
|
UPDATE 40883
|
||||||
|
UPDATE metadatavalue SET metadata_field_id=202 WHERE metadata_field_id=72
|
||||||
|
UPDATE 21420
|
||||||
|
UPDATE metadatavalue SET metadata_field_id=203 WHERE metadata_field_id=76
|
||||||
|
UPDATE 51258
|
||||||
|
</code></pre>
|
||||||
</description>
|
</description>
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user