diff --git a/Application/EdFi.Ods.Standard/Standard/5.2.0/Artifacts/MsSql/Structure/Ods/1480-UpdateEdFiStandardVersionTo52.sql b/Application/EdFi.Ods.Standard/Standard/5.2.0/Artifacts/MsSql/Structure/Ods/1480-UpdateEdFiStandardVersionTo52.sql new file mode 100644 index 000000000..1f9c9ecaf --- /dev/null +++ b/Application/EdFi.Ods.Standard/Standard/5.2.0/Artifacts/MsSql/Structure/Ods/1480-UpdateEdFiStandardVersionTo52.sql @@ -0,0 +1,18 @@ +-- SPDX-License-Identifier: Apache-2.0 +-- Licensed to the Ed-Fi Alliance under one or more agreements. +-- The Ed-Fi Alliance licenses this file to you under the Apache License, Version 2.0. +-- See the LICENSE and NOTICES files in the project root for more information. + +IF object_id('util.GetEdFiStandardVersion', 'FN') IS NOT NULL +BEGIN + DROP FUNCTION util.GetEdFiStandardVersion; +END +GO + +CREATE FUNCTION util.GetEdFiStandardVersion() +RETURNS VARCHAR(60) +AS +BEGIN + RETURN '5.2' +END +GO \ No newline at end of file diff --git a/Application/EdFi.Ods.Standard/Standard/5.2.0/Artifacts/PgSql/Structure/Ods/1480-UpdateEdFiStandardVersionTo52.sql b/Application/EdFi.Ods.Standard/Standard/5.2.0/Artifacts/PgSql/Structure/Ods/1480-UpdateEdFiStandardVersionTo52.sql new file mode 100644 index 000000000..5e48e4526 --- /dev/null +++ b/Application/EdFi.Ods.Standard/Standard/5.2.0/Artifacts/PgSql/Structure/Ods/1480-UpdateEdFiStandardVersionTo52.sql @@ -0,0 +1,11 @@ +-- SPDX-License-Identifier: Apache-2.0 +-- Licensed to the Ed-Fi Alliance under one or more agreements. +-- The Ed-Fi Alliance licenses this file to you under the Apache License, Version 2.0. +-- See the LICENSE and NOTICES files in the project root for more information. + +CREATE OR REPLACE FUNCTION util.GetEdFiStandardVersion() +RETURNS VARCHAR(60) AS $$ +BEGIN + RETURN '5.2'; +END; +$$ LANGUAGE plpgsql; \ No newline at end of file