mirror of
https://codeberg.org/icewind/log-archiver.git
synced 2026-06-03 17:44:06 +02:00
basic indexes
This commit is contained in:
parent
59d087f68f
commit
a9c2032c2a
1 changed files with 6 additions and 0 deletions
|
|
@ -6,3 +6,9 @@ CREATE TABLE logs_raw (
|
|||
|
||||
ALTER TABLE ONLY logs_raw
|
||||
ALTER COLUMN time SET DEFAULT now();
|
||||
|
||||
CREATE INDEX logs_raw_id_idx
|
||||
ON logs_raw USING BTREE (id);
|
||||
|
||||
CREATE INDEX logs_raw_success_idx
|
||||
ON logs_raw USING BTREE ((json->>'success'));
|
||||
Loading…
Add table
Add a link
Reference in a new issue