Created
October 22, 2024 14:48
-
-
Save thbaumann/cedd5c39f040e005ea3d1db35ea2d577 to your computer and use it in GitHub Desktop.
QGIS user log table
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
-- Table: public.qgis_log_table | |
-- DROP TABLE IF EXISTS public.qgis_log_table; | |
CREATE TABLE IF NOT EXISTS public.qgis_log_table | |
( | |
log_id integer NOT NULL DEFAULT nextval('qgis_log_table_log_id_seq'::regclass), | |
"timestamp" timestamp without time zone DEFAULT CURRENT_TIMESTAMP, | |
username character varying(255) COLLATE pg_catalog."default" NOT NULL, | |
message text COLLATE pg_catalog."default" NOT NULL, | |
tag character varying(50) COLLATE pg_catalog."default", | |
level character varying(10) COLLATE pg_catalog."default", | |
plugin_name character varying COLLATE pg_catalog."default", | |
qgis_version character varying COLLATE pg_catalog."default", | |
CONSTRAINT qgis_log_table_pkey PRIMARY KEY (log_id) | |
) | |
TABLESPACE pg_default; | |
ALTER TABLE IF EXISTS public.qgis_log_table | |
OWNER to qgis_log; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment