mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-05 21:14:26 -04:00
Docker Hosts are now a table & have their own dialog
This commit is contained in:
parent
ac449ec1c2
commit
0d098b0958
10 changed files with 385 additions and 31 deletions
|
@ -1,13 +1,18 @@
|
|||
-- 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_daemon VARCHAR(255);
|
||||
ADD docker_host INTEGER REFERENCES docker_host(id);
|
||||
|
||||
ALTER TABLE monitor
|
||||
ADD docker_container VARCHAR(255);
|
||||
|
||||
ALTER TABLE monitor
|
||||
ADD docker_type VARCHAR(255);
|
||||
|
||||
COMMIT;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue