feat(api): 建立 transactions 的 Server Actions,实装高精度字符串校验层
This commit is contained in:
+1
-1
@@ -33,7 +33,7 @@ export const transactionTypeEnum = pgEnum("transaction_type_enum", [
|
||||
]);
|
||||
|
||||
export const transactions = pgTable("transactions", {
|
||||
id: uuid("id").primaryKey(),
|
||||
id: uuid("id").primaryKey().defaultRandom(),
|
||||
assetId: uuid("asset_id")
|
||||
.notNull()
|
||||
.references(() => assets.id),
|
||||
|
||||
Reference in New Issue
Block a user