Deployments are an artifact of calls to
pgml.train(). See Deployments for ways to create new deployments manually.
content_copy link edit
CREATE TABLE IF NOT EXISTS pgml.deployments(id BIGSERIAL PRIMARY KEY,project_id BIGINT NOT NULL,model_id BIGINT NOT NULL,strategy pgml.strategy NOT NULL,created_at TIMESTAMP WITHOUT TIME ZONE NOT NULL DEFAULT clock_timestamp(),CONSTRAINT project_id_fk FOREIGN KEY(project_id) REFERENCES pgml.projects(id) ON DELETE CASCADE,CONSTRAINT model_id_fk FOREIGN KEY(model_id) REFERENCES pgml.models(id) ON DELETE CASCADE);
Join our Discord and ask us anything! We're friendly and would love to talk about PostgresML.
Try It Out
Try PostresML using our free serverless cloud. It comes with GPUs, 5 GiB of space and plenty of datasets to get you started.