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
-- You should not modify if this have pushed to Github, unless it does serious wrong with the db.
|
|
BEGIN TRANSACTION;
|
|
|
|
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)
|
|
);
|
|
|
|
ALTER TABLE monitor
|
|
ADD docker_host INTEGER REFERENCES docker_host(id);
|
|
|
|
ALTER TABLE monitor
|
|
ADD docker_container VARCHAR(255);
|
|
|
|
COMMIT;
|