Files
Django_kube/django_code/apps/cloudmanager/sql/cloudmanager_machine.sql
T
pierre geeraert 3079df9072
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 3s
refactoring
2026-06-11 19:19:15 +01:00

14 lines
748 B
SQL

drop table IF EXISTS machine;
CREATE TABLE IF NOT EXISTS machine (
id integer NOT NULL PRIMARY KEY,
namespace varchar(100) NOT null,
name varchar(100) NOT null,
hour_behaviour_id integer NOT null,
day_behaviour_id integer NOT null,
replicas integer NOT null
);
INSERT into machine (id, namespace, name, hour_behaviour_id, day_behaviour_id,replicas) VALUES (1, 'echo', 'echo-server', 0, 1,1);
INSERT into machine (id, namespace, name, hour_behaviour_id, day_behaviour_id,replicas) VALUES (2, 'wiki', 'wikijs', 1, 1,2);
INSERT into machine (id, namespace, name, hour_behaviour_id, day_behaviour_id,replicas) VALUES (3, 'book', 'bookstack-db', 2, 1,1);