|
Revision 1507, 1.0 kB
(checked in by bmamlin, 2 years ago)
|
REST Module 1.2 -> 1.2.1, updates global property names
|
| Line | |
|---|
| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
|---|
| 2 |
<!DOCTYPE sqldiff PUBLIC "-//OpenMRS//DTD OpenMRS SQL Diff Config 1.0//EN" "http://resources.openmrs.org/doctype/sqldiff-1.0.dtd"> |
|---|
| 3 |
|
|---|
| 4 |
<sqldiff version="1.0"> |
|---|
| 5 |
<help> |
|---|
| 6 |
USE: |
|---|
| 7 |
The diffs are ordered by datamodel version number. |
|---|
| 8 |
The script can be run in a top down fashion and is |
|---|
| 9 |
expected to not fail or overwrite old data |
|---|
| 10 |
|
|---|
| 11 |
EXPECT: |
|---|
| 12 |
- "use business-database-name;" was called prior to |
|---|
| 13 |
calling this script |
|---|
| 14 |
</help> |
|---|
| 15 |
|
|---|
| 16 |
<diff> |
|---|
| 17 |
<version>1.0.0</version> |
|---|
| 18 |
<author>Burke Mamlin</author> |
|---|
| 19 |
<date>22-Jan-2007</date> |
|---|
| 20 |
<description> |
|---|
| 21 |
|
|---|
| 22 |
</description> |
|---|
| 23 |
<sql> |
|---|
| 24 |
</sql> |
|---|
| 25 |
</diff> |
|---|
| 26 |
|
|---|
| 27 |
<diff> |
|---|
| 28 |
<version>1.2.1</version> |
|---|
| 29 |
<author>Burke Mamlin</author> |
|---|
| 30 |
<date>19-Feb-2007</date> |
|---|
| 31 |
<description> |
|---|
| 32 |
Changing all restModule.* global properties to restmodule.* |
|---|
| 33 |
</description> |
|---|
| 34 |
<sql> |
|---|
| 35 |
UPDATE |
|---|
| 36 |
global_property |
|---|
| 37 |
SET |
|---|
| 38 |
property = REPLACE(property, 'restModule.', 'restmodule') |
|---|
| 39 |
WHERE |
|---|
| 40 |
INSTR(property, 'restModule') = 1; |
|---|
| 41 |
</sql> |
|---|
| 42 |
</diff> |
|---|
| 43 |
|
|---|
| 44 |
|
|---|
| 45 |
</sqldiff> |
|---|