You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
1.1 KiB
36 lines
1.1 KiB
<?xml version="1.0" encoding="utf-8" ?>
|
|
<patch xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="..\..\Patcher\Resources\IPatch.xsd">
|
|
<version>
|
|
<number>1</number>
|
|
<author>threadsindexes</author>
|
|
</version>
|
|
<strictCommandSet>
|
|
<command>
|
|
<sql>
|
|
<installSql>
|
|
<query>DROP INDEX "Threads_FirstPostId_idx"</query>
|
|
<query>CREATE INDEX "Threads_FirstPostId_idx" on "Threads"("FirstPostId" asc)</query>
|
|
</installSql>
|
|
<uninstallSql/>
|
|
</sql>
|
|
</command>
|
|
<command>
|
|
<sql>
|
|
<installSql>
|
|
<query>DROP INDEX "Threads_LastPostId_idx"</query>
|
|
<query>CREATE INDEX "Threads_LastPostId_idx" on "Threads"("LastPostId" desc)</query>
|
|
</installSql>
|
|
<uninstallSql/>
|
|
</sql>
|
|
</command>
|
|
<command>
|
|
<sql>
|
|
<installSql>
|
|
<query>DROP INDEX "Threads_IsAnnouncement_LastPostId_idx"</query>
|
|
<query>CREATE INDEX "Threads_IsAnnouncement_LastPostId_idx" on "Threads"("IsAnnouncement" desc, "LastPostId" desc)</query>
|
|
</installSql>
|
|
<uninstallSql/>
|
|
</sql>
|
|
</command>
|
|
</strictCommandSet>
|
|
</patch>
|
|
|