feat: migrate monthly city trade rates

This commit is contained in:
2026-07-25 16:16:10 +00:00
parent f8bd3b4138
commit f8645a4576
12 changed files with 320 additions and 17 deletions
+1 -1
View File
@@ -132,7 +132,7 @@ model City {
security Int @map("secu")
securityMax Int @map("secu_max")
trust Int @default(0)
trade Int @default(100)
trade Int? @default(100)
defence Int @map("def")
defenceMax Int @map("def_max")
wall Int @map("wall")
@@ -0,0 +1,2 @@
ALTER TABLE "city"
ALTER COLUMN "trade" DROP NOT NULL;