AC_4897, AC_4898, AC_4899: Multifile uploader fixes.
[acontent.git] / updater / sample_patch.xml
1 <?xml version="1.0" encoding="ISO-8859-1"?> \r
2 <patch>\r
3         <atutor_patch_id>00001</atutor_patch_id>\r
4         <applied_version>1.6</applied_version>\r
5         <author>&lt;a href=&quot;http://atutor.ca&quot;&gt;ATutor&lt;/a&gt;</author>\r
6         <description>Sample patch XML</description>\r
7         <dependent_patches>\r
8                 <dependent_patch>00002</dependent_patch>\r
9                 <dependent_patch>00003</dependent_patch>\r
10         </dependent_patches>\r
11         \r
12         <sql>\r
13                 ALTER TABLE `tests` ADD `description` TEXT NOT NULL AFTER `title`;\r
14         </sql>\r
15 \r
16         <files>\r
17                 <file>\r
18                         <action>alter</action>\r
19                         <name>create_test.php</name>\r
20                         <location>tools/tests/</location>\r
21                         <action_detail>\r
22                                 <type>delete</type>\r
23                                 <code_from></code_from>\r
24                         </action_detail>\r
25                                 \r
26                         <action_detail>\r
27                                 <type>replace</type>\r
28                                 <code_from></code_from>\r
29                                 <code_to></code_to>\r
30                         </action_detail>\r
31                 </file>\r
32         \r
33                 <file>\r
34                         <action>add</action>\r
35                         <name>calendar.gif</name>\r
36                         <location>docs/images/</location>\r
37                 </file>\r
38 \r
39                 <file>\r
40                         <action>delete</action>\r
41                         <name>results_all_csv.php</name>\r
42                         <location>tools/tests/</location>\r
43                 </file>\r
44 \r
45                 <file>\r
46                         <action>overwrite</action>\r
47                         <name>results_all.php</name>\r
48                         <location>tools/tests/</location>\r
49                 </file>\r
50         </files>\r
51 </patch> \r