mirror of
https://code.mensbeam.com/MensBeam/Arsse.git
synced 2024-12-22 21:22:40 +00:00
Tweak
This commit is contained in:
parent
fc2428713a
commit
3f7df467e6
2 changed files with 2 additions and 3 deletions
|
@ -10,9 +10,7 @@ create temp table arsse_articles_map(
|
|||
subscription int not null,
|
||||
id integer primary key autoincrement
|
||||
);
|
||||
insert into arsse_articles_map(article, subscription) values(1, 1);
|
||||
delete from arsse_articles_map;
|
||||
update temp.sqlite_sequence set seq = (select max(id) from arsse_articles) where name = 'arsse_articles_map';
|
||||
replace into temp.sqlite_sequence(name,seq) select 'arsse_articles_map', max(id) from arsse_articles;
|
||||
insert into arsse_articles_map(article, subscription)
|
||||
select
|
||||
a.id as article,
|
||||
|
|
|
@ -130,6 +130,7 @@ abstract class BaseUpdate extends \JKingWeb\Arsse\Test\AbstractTest {
|
|||
$this->drv->schemaUpdate(-1, $this->base);
|
||||
}
|
||||
|
||||
/** @depends testPerformActualUpdate */
|
||||
public function testPerformMaintenance(): void {
|
||||
$this->drv->schemaUpdate(Database::SCHEMA_VERSION);
|
||||
$this->assertTrue($this->drv->maintenance());
|
||||
|
|
Loading…
Reference in a new issue