-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #424 from SkillsFundingAgency/DPP-1052_Fix_Prod_Db…
…_Release_Provider_Mergers Adds pre-deployment script to remove old procs left hanging around
- Loading branch information
Showing
2 changed files
with
19 additions
and
0 deletions.
There are no files selected for viewing
15 changes: 15 additions & 0 deletions
15
src/SFA.DAS.Commitments.Database/PreDeployment/PreDeploymentScript.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters