insert subscription and wrap variables with ${}
INSERT INTO Subscription (status, quantity, cancelAtPeriodEnd, createdAt, currentPeriodStart, currentPeriodEnd, endedAt, cancelAt, canceledAt, trialStart, trialEnd, updatedAt, priceId, userId, stripeId) VALUES (${status}, ${quantity}, ${cancelAtPeriodEnd}, ${createdAt}, ${currentPeriodStart}, ${currentPeriodEnd}, ${endedAt}, ${cancelAt}, ${canceledAt}, ${trialStart}, ${trialEnd}, ${updatedAt}, ${priceId}, ${userId}, ${stripeId});
- Public
- ·
- Wed, 25 Jan 2023 11:47:19 GMT