Implement accessory info and wear list

CREATE TABLE "accessory_wear_m" (
  "id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
  "accessory_owning_user_id" INTEGER,
  "unit_owning_user_id" INTEGER,
  "user_id" INTEGER
);

Signed-off-by: Yuan Si <do4suki@gmail.com>
This commit is contained in:
2023-04-18 04:07:14 +08:00
parent 43319d58d2
commit 48e2b2ac73
9 changed files with 193 additions and 9 deletions
+1
View File
@@ -85,6 +85,7 @@ func main() {
m.POST("/unit/deckName", handler.SetDeckNameHandler)
m.POST("/unit/favorite", handler.SetDisplayRankHandler)
m.POST("/unit/setDisplayRank", handler.SetDisplayRankHandler)
m.POST("/unit/wearAccessory", handler.WearAccessory)
m.POST("/user/changeName", handler.ChangeNameHandler)
m.POST("/user/changeNavi", handler.ChangeNaviHandler)
m.POST("/user/setNotificationToken", handler.SetNotificationTokenHandler)