Fixes the db init
This commit is contained in:
parent
b918d9ff03
commit
629e80330d
1 changed files with 1 additions and 0 deletions
|
|
@ -208,6 +208,7 @@ CREATE TABLE commandes
|
||||||
creation timestamp with time zone, -- creation date
|
creation timestamp with time zone, -- creation date
|
||||||
clientname character varying(255), -- user who created the command, client of this command
|
clientname character varying(255), -- user who created the command, client of this command
|
||||||
applicationname character varying(255), -- application concerned by this command
|
applicationname character varying(255), -- application concerned by this command
|
||||||
|
params json,
|
||||||
CONSTRAINT commandes_pkey PRIMARY KEY (id),
|
CONSTRAINT commandes_pkey PRIMARY KEY (id),
|
||||||
CONSTRAINT commforeignuser FOREIGN KEY (clientname, applicationname)
|
CONSTRAINT commforeignuser FOREIGN KEY (clientname, applicationname)
|
||||||
REFERENCES users (username, applicationname) MATCH SIMPLE
|
REFERENCES users (username, applicationname) MATCH SIMPLE
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue