mirror of
https://codeberg.org/icewind/log-archiver.git
synced 2026-11-30 04:30:47 +01:00
initial stuff
This commit is contained in:
parent
8a1b642ca8
commit
59d087f68f
5 changed files with 1421 additions and 4 deletions
8
schema.sql
Normal file
8
schema.sql
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
CREATE TABLE logs_raw (
|
||||
id INTEGER NOT NULL,
|
||||
json JSONB NOT NULL,
|
||||
time TIMESTAMP WITHOUT TIME ZONE NOT NULL
|
||||
);
|
||||
|
||||
ALTER TABLE ONLY logs_raw
|
||||
ALTER COLUMN time SET DEFAULT now();
|
||||
Loading…
Add table
Add a link
Reference in a new issue