@balena/open-balena-api 38.0.0-build-enum-fields-66f70b53f5822fc573178169e43b93274ecbad44-1 → 38.0.0-build-enum-fields-991782f8b9f09019479395b0174d44cb266dd3a2-1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -152,5 +152,18 @@ BEGIN
|
|
152
152
|
("status" IN ('running', 'success', 'failed', 'error', 'cancelled', 'interrupted'))
|
153
153
|
);
|
154
154
|
END IF;
|
155
|
+
|
156
|
+
IF NOT EXISTS (
|
157
|
+
SELECT 1
|
158
|
+
FROM information_schema.table_constraints tc
|
159
|
+
WHERE tc.CONSTRAINT_TYPE = 'CHECK'
|
160
|
+
AND tc.table_schema = CURRENT_SCHEMA()
|
161
|
+
AND tc.table_name = 'service instance'
|
162
|
+
AND tc.constraint_name = 'service instance_service type_check'
|
163
|
+
) THEN
|
164
|
+
ALTER TABLE "service instance" ADD CONSTRAINT "service instance_service type_check" CHECK (
|
165
|
+
("service type" IN ('vpn'))
|
166
|
+
);
|
167
|
+
END IF;
|
155
168
|
END;
|
156
169
|
$$;
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@balena/open-balena-api",
|
3
3
|
"description": "Internet of things, Made Simple",
|
4
|
-
"version": "38.0.0-build-enum-fields-
|
4
|
+
"version": "38.0.0-build-enum-fields-991782f8b9f09019479395b0174d44cb266dd3a2-1",
|
5
5
|
"license": "AGPL-3.0",
|
6
6
|
"repository": {
|
7
7
|
"type": "git",
|
@@ -174,6 +174,6 @@
|
|
174
174
|
"import": "@swc-node/register/esm-register"
|
175
175
|
},
|
176
176
|
"versionist": {
|
177
|
-
"publishedAt": "2025-06-
|
177
|
+
"publishedAt": "2025-06-25T10:15:57.062Z"
|
178
178
|
}
|
179
179
|
}
|