mirror of
https://github.com/sakaljurgis/kodi-api-server.git
synced 2026-07-08 20:37:41 +00:00
migrations; torr search, dl, seed, delete; files scan, delete; configs
This commit is contained in:
@@ -7,8 +7,11 @@ export class CreateLrtCategoriesTable1672730402752
|
||||
await queryRunner.query(
|
||||
`create table lrt_categories
|
||||
(
|
||||
category_url TEXT,
|
||||
category_id TEXT
|
||||
category_url VARCHAR(256),
|
||||
category_id INTEGER,
|
||||
title VARCHAR(128),
|
||||
last_access TIMESTAMP,
|
||||
thumb VARCHAR(256)
|
||||
);`,
|
||||
);
|
||||
|
||||
@@ -16,6 +19,11 @@ export class CreateLrtCategoriesTable1672730402752
|
||||
`create index lrt_categories_category_url_index
|
||||
on lrt_categories (category_url);`,
|
||||
);
|
||||
|
||||
await queryRunner.query(
|
||||
`create index lrt_categories_category_id
|
||||
on lrt_categories (category_id);`,
|
||||
);
|
||||
}
|
||||
|
||||
public async down(queryRunner: QueryRunner): Promise<void> {
|
||||
|
||||
Reference in New Issue
Block a user