diff --git a/src/SFA.DAS.Commitments.Database/PreDeployment/PreDeploymentScript.sql b/src/SFA.DAS.Commitments.Database/PreDeployment/PreDeploymentScript.sql new file mode 100644 index 0000000000..ea2ad70066 --- /dev/null +++ b/src/SFA.DAS.Commitments.Database/PreDeployment/PreDeploymentScript.sql @@ -0,0 +1,15 @@ +/* + Pre-Deployment Script Template +-------------------------------------------------------------------------------------- + This file contains SQL statements that will be executed before the build script. + Use SQLCMD syntax to include a file in the pre-deployment script. + Example: :r .\myfile.sql + Use SQLCMD syntax to reference a variable in the pre-deployment script. + Example: :setvar TableName MyTable + SELECT * FROM [$(TableName)] +-------------------------------------------------------------------------------------- +*/ + +DROP PROCEDURE IF EXISTS [dbo].[BulkUploadApprenticships] +DROP PROCEDURE IF EXISTS [dbo].[GetActiveApprenticeships] + diff --git a/src/SFA.DAS.Commitments.Database/SFA.DAS.Commitments.Database.sqlproj b/src/SFA.DAS.Commitments.Database/SFA.DAS.Commitments.Database.sqlproj index f52f6f0236..a292195560 100644 --- a/src/SFA.DAS.Commitments.Database/SFA.DAS.Commitments.Database.sqlproj +++ b/src/SFA.DAS.Commitments.Database/SFA.DAS.Commitments.Database.sqlproj @@ -68,6 +68,7 @@ + @@ -146,4 +147,7 @@ + + + \ No newline at end of file