CREATE TABLE IF NOT EXISTS "block_models" ( "server_id" uuid NOT NULL REFERENCES "servers"("id") ON DELETE CASCADE, "kind" text NOT NULL, "name" text NOT NULL, "json" text NOT NULL, "updated_at" timestamptz NOT NULL DEFAULT now(), PRIMARY KEY ("server_id", "kind", "name") );