互动
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

93 lines
2.0 KiB

5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
  1. package models
  2. import (
  3. "fmt"
  4. "github.com/ouxuanserver/osmanthuswine/src/core"
  5. )
  6. const TableNamePrefix = "ox_"
  7. func init() {
  8. err := core.GetXormAuto().Sync2(
  9. new(Activity),
  10. new(ActivityModuleService),
  11. new(Annex),
  12. new(AreaStore),
  13. new(AuctionHistory),
  14. new(AuctionResultRecord),
  15. new(BaheTeam),
  16. new(BaheTeamMember),
  17. new(BarrageHistory),
  18. new(BullyScreenHistory),
  19. new(BullyScreenServer),
  20. new(BullyScreenWalletHistory),
  21. new(Customer),
  22. new(CustomerGoods),
  23. new(CustomerOperation),
  24. new(CustomerOrder),
  25. new(DanMuServer),
  26. new(Invitation),
  27. new(InvitationLetter),
  28. new(LotteryDrawActivity),
  29. new(LotteryDrawEnvelopeWallet),
  30. new(LotteryDrawRecord),
  31. new(LotteryDrawRule),
  32. new(LotteryDrawRuleLadder),
  33. new(LotteryDrawWalletHistory),
  34. new(ModuleService),
  35. new(ModuleServiceHistory),
  36. new(ModuleStyle),
  37. new(NewAuctionActivity),
  38. new(NewVoteActivity),
  39. new(NewVoteActivityHistory),
  40. new(NewVoteActivityLadder),
  41. new(Order),
  42. new(OrderDrawActivity),
  43. new(OrderDrawRecord),
  44. new(OrderDrawRule),
  45. new(OrderDrawRuleLadder),
  46. new(OrderDrawStyle),
  47. new(RewardHistory),
  48. new(RewardServer),
  49. new(RewardWallet),
  50. new(RewardWalletHistory),
  51. new(SeminarActivity),
  52. new(SeminarInviteCode),
  53. new(SeminarInvitePage),
  54. new(SeminarRule),
  55. new(SeminarStyle),
  56. new(Sensitive),
  57. new(ShakeRedEnvelopeActivity),
  58. new(ShakeRedEnvelopeRecord),
  59. new(ShakeRedEnvelopeRule),
  60. new(ShakeRedEnvelopeRuleLadder),
  61. new(SignHistory),
  62. new(SignUp),
  63. new(TugOfWar),
  64. new(UpperWall),
  65. new(User),
  66. new(UserWalletHistory),
  67. new(NewVoteActivity),
  68. new(NewVoteActivityHistory),
  69. new(OrderEntryPerson),
  70. new(Rehearsal),
  71. new(WeChatTicket),
  72. new(MsgWallServer),
  73. new(ShakeRedEnvelopeUser),
  74. new(OrderGift),
  75. new(UserPrize),
  76. new(Calorie),
  77. new(CalorieUser),
  78. new(UserOrder),
  79. new(UserRefund),
  80. new(UserRedPack),
  81. new(RealSignList),
  82. new(RealSignHistory),
  83. new(LiveViewer),
  84. new(LiveConfig),
  85. new(LiveRedPackInfo),
  86. new(LiveRedPack),
  87. )
  88. fmt.Printf("error=======>%v\n\n", err)
  89. }