mirror of
https://github.com/Unleash/unleash.git
synced 2025-10-13 11:17:26 +02:00
add fks
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
This commit is contained in:
parent
33e408e266
commit
d03b398e81
@ -5,8 +5,8 @@ exports.up = function (db, callback) {
|
||||
`
|
||||
CREATE TABLE IF NOT EXISTS client_applications_usage (
|
||||
app_name VARCHAR(255) REFERENCES client_applications(app_name) ON DELETE CASCADE,
|
||||
project VARCHAR(255) NOT NULL,
|
||||
environment VARCHAR(100) NOT NULL,
|
||||
project VARCHAR(255) NULL REFERENCES projects(name) ON DELETE CASCADE,
|
||||
environment VARCHAR(100) NULL REFERENCES environments(name) ON DELETE CASCADE,
|
||||
PRIMARY KEY(app_name, project, environment)
|
||||
) ;
|
||||
`,
|
||||
|
Loading…
Reference in New Issue
Block a user