You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
434 B
19 lines
434 B
3 years ago
|
-- You should not modify if this have pushed to Github, unless it does serious wrong with the db.
|
||
|
BEGIN TRANSACTION;
|
||
|
|
||
2 years ago
|
CREATE TABLE docker_host (
|
||
|
id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
|
||
|
user_id INT NOT NULL,
|
||
|
docker_daemon VARCHAR(255),
|
||
|
docker_type VARCHAR(255),
|
||
|
name VARCHAR(255)
|
||
|
);
|
||
3 years ago
|
|
||
|
ALTER TABLE monitor
|
||
2 years ago
|
ADD docker_host INTEGER REFERENCES docker_host(id);
|
||
3 years ago
|
|
||
3 years ago
|
ALTER TABLE monitor
|
||
2 years ago
|
ADD docker_container VARCHAR(255);
|
||
3 years ago
|
|
||
3 years ago
|
COMMIT;
|