Skip to content

Commit b052b5e

Browse files
committed
feat: support discount
1 parent 9696a5e commit b052b5e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@thecodeorigin/nuxt",
33
"type": "module",
4-
"version": "2.4.5",
4+
"version": "2.4.6",
55
"publishConfig": {
66
"registry": "https://registry.npmjs.org",
77
"access": "public"

server/db/schemas/products.schema.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ export const productTable = pgTable('products', {
1313
title: text('title'),
1414
description: text('description'),
1515
price: numeric('price').notNull(),
16+
price_discount: numeric('price_discount'),
1617
currency: text('currency').notNull(),
1718
amount: numeric('amount').notNull(),
1819
type: productType('type').default(ProductType.CREDIT).notNull(),

0 commit comments

Comments
 (0)