2022-01-13 08:17:07 -08:00
|
|
|
-- You should not modify if this have pushed to Github, unless it does serious wrong with the db.
|
|
|
|
BEGIN TRANSACTION;
|
|
|
|
|
2022-07-22 08:47:04 -07:00
|
|
|
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)
|
|
|
|
);
|
2022-01-13 08:17:07 -08:00
|
|
|
|
|
|
|
ALTER TABLE monitor
|
2022-07-22 08:47:04 -07:00
|
|
|
ADD docker_host INTEGER REFERENCES docker_host(id);
|
2022-01-13 08:17:07 -08:00
|
|
|
|
2022-01-21 17:57:37 -08:00
|
|
|
ALTER TABLE monitor
|
2022-07-22 08:47:04 -07:00
|
|
|
ADD docker_container VARCHAR(255);
|
2022-01-21 17:57:37 -08:00
|
|
|
|
2022-01-13 08:17:07 -08:00
|
|
|
COMMIT;
|