chore: update schema

This commit is contained in:
2026-03-10 21:11:46 +08:00
parent 6c2314d140
commit 4f85646ade
3 changed files with 32 additions and 9 deletions

View File

@@ -1,6 +1,6 @@
{
"id": "7a1c94ab-46cd-48cb-b84f-622da7a036c1",
"prevId": "19bd6e2d-1648-4da6-a8db-4f66712febde",
"id": "625f31c4-cd87-4d4d-ad2b-22cf47de4295",
"prevId": "7a1c94ab-46cd-48cb-b84f-622da7a036c1",
"version": "7",
"dialect": "postgresql",
"tables": {
@@ -488,6 +488,13 @@
"primaryKey": false,
"notNull": false
},
"fee_per_kwh": {
"name": "fee_per_kwh",
"type": "integer",
"primaryKey": false,
"notNull": true,
"default": 0
},
"created_at": {
"name": "created_at",
"type": "timestamp with time zone",
@@ -1020,6 +1027,13 @@
"primaryKey": false,
"notNull": false
},
"balance": {
"name": "balance",
"type": "integer",
"primaryKey": false,
"notNull": true,
"default": 0
},
"created_at": {
"name": "created_at",
"type": "timestamp with time zone",
@@ -1033,13 +1047,6 @@
"primaryKey": false,
"notNull": true,
"default": "now()"
},
"balance": {
"name": "balance",
"type": "integer",
"primaryKey": false,
"notNull": true,
"default": "0"
}
},
"indexes": {},
@@ -1535,6 +1542,12 @@
"primaryKey": false,
"notNull": false
},
"charge_amount": {
"name": "charge_amount",
"type": "integer",
"primaryKey": false,
"notNull": false
},
"reservation_id": {
"name": "reservation_id",
"type": "integer",