Added SQL update
authorAlexander Ebert <ebert@woltlab.com>
Fri, 31 May 2013 12:11:20 +0000 (14:11 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Fri, 31 May 2013 12:11:20 +0000 (14:11 +0200)
com.woltlab.wcf/package.xml
com.woltlab.wcf/update_b2.sql [new file with mode: 0644]

index d0ebf3bd8f28f7caffc2a25d597a87cdfd81ec28..d9faac5a15c69eadc8c6edd83186f836f25b6048 100644 (file)
@@ -45,6 +45,7 @@
        <instructions type="update" fromversion="2.0.0 Beta 1">
                <instruction type="file">files_update.tar</instruction>
                <instruction type="option">option.xml</instruction>
+               <instruction type="sql">update_b2.sql</instruction>
                <instruction type="template">templates_update.tar</instruction>
        </instructions>
 </package>
diff --git a/com.woltlab.wcf/update_b2.sql b/com.woltlab.wcf/update_b2.sql
new file mode 100644 (file)
index 0000000..ce9be38
--- /dev/null
@@ -0,0 +1 @@
+UPDATE wcf1_bbcode_media_provider SET regex = 'http://(?:www\\.)?clipfish\\.de/(?:.*?/)?video/(?<ID>\\d+)/' WHERE title = 'Clipfish';
\ No newline at end of file