1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-02 16:42:50 -05:00

Script best practices

This commit is contained in:
Matt Bishop
2024-01-04 15:18:33 -05:00
parent 49a645318c
commit fac2a06b3d

View File

@ -7,19 +7,8 @@ BEGIN
END END
GO GO
-- Recreate View -- Refresh View
IF OBJECT_ID('[dbo].[SendView]') IS NOT NULL EXECUTE sp_refreshview N'[dbo].[{SendView}]'
BEGIN
DROP VIEW [dbo].[SendView]
END
GO
CREATE VIEW [dbo].[SendView]
AS
SELECT
*
FROM
[dbo].[Send]
GO GO
CREATE OR ALTER PROCEDURE [dbo].[Send_Create] CREATE OR ALTER PROCEDURE [dbo].[Send_Create]