mirror of
https://github.com/bitwarden/server.git
synced 2026-01-31 14:13:18 +08:00
* Add Gateway columns to Provider table * Add ProviderId column to Transaction table * Create ProviderPlan table * Matt's feedback * Rui's feedback * Fixed Gateway parameter on Provider
31 lines
565 B
Transact-SQL
31 lines
565 B
Transact-SQL
CREATE PROCEDURE [dbo].[ProviderPlan_Create]
|
|
@Id UNIQUEIDENTIFIER OUTPUT,
|
|
@ProviderId UNIQUEIDENTIFIER,
|
|
@PlanType TINYINT,
|
|
@SeatMinimum INT,
|
|
@PurchasedSeats INT,
|
|
@AllocatedSeats INT
|
|
AS
|
|
BEGIN
|
|
SET NOCOUNT ON
|
|
|
|
INSERT INTO [dbo].[ProviderPlan]
|
|
(
|
|
[Id],
|
|
[ProviderId],
|
|
[PlanType],
|
|
[SeatMinimum],
|
|
[PurchasedSeats],
|
|
[AllocatedSeats]
|
|
)
|
|
VALUES
|
|
(
|
|
@Id,
|
|
@ProviderId,
|
|
@PlanType,
|
|
@SeatMinimum,
|
|
@PurchasedSeats,
|
|
@AllocatedSeats
|
|
)
|
|
END
|