mirror of
https://github.com/bitwarden/server
synced 2026-02-18 18:33:29 +00:00
[PM-30108] import discount from stripe (#6982)
* [PM-30108] import discount from stripe * fix repo tests * pr feedback * wrap discounts in feature flag * claude pr feedback
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
-- Add SubscriptionDiscount_List stored procedure for pagination
|
||||
CREATE OR ALTER PROCEDURE [dbo].[SubscriptionDiscount_List]
|
||||
@Skip INT = 0,
|
||||
@Take INT = 25
|
||||
AS
|
||||
BEGIN
|
||||
SET NOCOUNT ON
|
||||
|
||||
SELECT
|
||||
*
|
||||
FROM
|
||||
[dbo].[SubscriptionDiscountView]
|
||||
ORDER BY [CreationDate] DESC
|
||||
OFFSET @Skip ROWS
|
||||
FETCH NEXT @Take ROWS ONLY
|
||||
END
|
||||
GO
|
||||
Reference in New Issue
Block a user