f2007ee8344eff1f61033e8b442fec7b23090dae
[atutor.git] / mods / patcher / 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         <description>Sample patch XML</description>\r
6         <dependent_patches>\r
7                 <dependent_patch>00002</dependent_patch>\r
8                 <dependent_patch>00003</dependent_patch>\r
9         </dependent_patches>\r
10         \r
11         <sql>\r
12                 ALTER TABLE `tests` ADD `description` TEXT NOT NULL AFTER `title`;\r
13         </sql>\r
14 \r
15         <files>\r
16                 <file>\r
17                         <action>alter</action>\r
18                         <name>create_test.php</name>\r
19                         <location>tools/tests/</location>\r
20                         <action_detail>\r
21                                 <type>delete</type>\r
22                                 <code_from></code_from>\r
23                         </action_detail>\r
24                                 \r
25                         <action_detail>\r
26                                 <type>replace</type>\r
27                                 <code_from></code_from>\r
28                                 <code_to></code_to>\r
29                         </action_detail>\r
30                 </file>\r
31         \r
32                 <file>\r
33                         <action>add</action>\r
34                         <name>calendar.gif</name>\r
35                         <location>docs/images/</location>\r
36                 </file>\r
37 \r
38                 <file>\r
39                         <action>delete</action>\r
40                         <name>results_all_csv.php</name>\r
41                         <location>tools/tests/</location>\r
42                 </file>\r
43 \r
44                 <file>\r
45                         <action>overwrite</action>\r
46                         <name>results_all.php</name>\r
47                         <location>tools/tests/</location>\r
48                 </file>\r
49         </files>\r
50 </patch> \r