Update: add init db2
This commit is contained in:
parent
d6d0d43167
commit
78d7125ef5
1 changed files with 14 additions and 0 deletions
14
backend/init-db2.sql
Normal file
14
backend/init-db2.sql
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
-- Table: logs
|
||||
|
||||
CREATE TABLE IF NOT EXISTS logs
|
||||
(
|
||||
id serial PRIMARY KEY,
|
||||
date timestamp NOT NULL,
|
||||
id_user integer,
|
||||
ip character varying(15) NOT NULL,
|
||||
"table" character varying(25) NOT NULL,
|
||||
action character varying(50) NOT NULL,
|
||||
message character varying(512) NOT NULL,
|
||||
has_succeeded boolean NOT NULL,
|
||||
status_code smallint NOT NULL
|
||||
);
|
||||
Loading…
Add table
Add a link
Reference in a new issue