mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-11-02 16:32:14 +00:00
feat: add payment order provider snapshots
This commit is contained in:
1 parent
440536a93d
commit
561405ab00
14 files changed
+440
-23
No files matched your search
@@ -95,6 +95,9 @@ func (PaymentOrder) Fields() []ent.Field {
|
||||
Optional().
|
||||
Nillable().
|
||||
MaxLen(30),
|
||||
field.JSON("provider_snapshot", map[string]any{}).
|
||||
Optional().
|
||||
SchemaType(map[string]string{dialect.Postgres: "jsonb"}),
|
||||
|
||||
// 状态
|
||||
field.String("status").
|
||||
|
||||
Reference in new issue
Block a user