Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
35 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -59,6 +59,8 @@ public function html() | |
|
||
echo '</table>'; | ||
|
||
echo '<p>' . $this->getLang('overviewHistory') . '</p>'; | ||
|
||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
1 | ||
2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
PRAGMA foreign_keys=OFF; | ||
|
||
CREATE TEMPORARY TABLE acks_temp | ||
( | ||
page TEXT NOT NULL REFERENCES pages (page) ON DELETE CASCADE, | ||
user TEXT NOT NULL, | ||
ack INT NOT NULL, | ||
PRIMARY KEY (page, user) | ||
); | ||
|
||
INSERT INTO acks_temp (page,user,ack) SELECT page,user,ack FROM acks; | ||
|
||
DROP TABLE acks; | ||
|
||
CREATE TABLE acks | ||
( | ||
page TEXT NOT NULL REFERENCES pages (page), | ||
user TEXT NOT NULL, | ||
ack INT NOT NULL, | ||
PRIMARY KEY (page, user, ack) | ||
); | ||
|
||
INSERT INTO acks (page,user,ack) SELECT page,user,ack FROM acks_temp; | ||
|
||
DROP TABLE acks_temp; | ||
|
||
PRAGMA foreign_keys=ON; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters