互动
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.

85 lines
1.8 KiB

5 years ago
5 years ago
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(AreaStore),
  12. new(AuctionHistory),
  13. new(AuctionResultRecord),
  14. new(BaheTeam),
  15. new(BaheTeamMember),
  16. new(BarrageHistory),
  17. new(BullyScreenHistory),
  18. new(BullyScreenServer),
  19. new(BullyScreenWalletHistory),
  20. new(Customer),
  21. new(CustomerGoods),
  22. new(CustomerOperation),
  23. new(CustomerOrder),
  24. new(DanMuServer),
  25. new(Invitation),
  26. new(InvitationLetter),
  27. new(LotteryDrawActivity),
  28. new(LotteryDrawEnvelopeWallet),
  29. new(LotteryDrawRecord),
  30. new(LotteryDrawRule),
  31. new(LotteryDrawRuleLadder),
  32. new(LotteryDrawWalletHistory),
  33. new(ModuleService),
  34. new(ModuleServiceHistory),
  35. new(ModuleStyle),
  36. new(NewAuctionActivity),
  37. new(NewVoteActivity),
  38. new(NewVoteActivityHistory),
  39. new(NewVoteActivityLadder),
  40. new(OrderDrawActivity),
  41. new(OrderDrawRecord),
  42. new(OrderDrawRule),
  43. new(OrderDrawRuleLadder),
  44. new(OrderDrawStyle),
  45. new(RewardHistory),
  46. new(RewardServer),
  47. new(RewardWallet),
  48. new(RewardWalletHistory),
  49. new(Sensitive),
  50. new(ShakeRedEnvelopeActivity),
  51. new(ShakeRedEnvelopeRecord),
  52. new(ShakeRedEnvelopeRule),
  53. new(ShakeRedEnvelopeRuleLadder),
  54. new(SignHistory),
  55. new(SignUp),
  56. new(TugOfWar),
  57. new(UpperWall),
  58. new(User),
  59. new(UserWalletHistory),
  60. new(NewVoteActivity),
  61. new(NewVoteActivityHistory),
  62. new(OrderEntryPerson),
  63. new(Rehearsal),
  64. new(MsgWallServer),
  65. new(ShakeRedEnvelopeUser),
  66. new(OrderGift),
  67. new(UserPrize),
  68. new(Calorie),
  69. new(CalorieUser),
  70. new(UserOrder),
  71. new(UserRedPack),
  72. new(RealSignList),
  73. new(RealSignHistory),
  74. new(LiveViewer),
  75. new(LiveConfig),
  76. new(LiveRedEnvelopeRule),
  77. new(UserTransfer),
  78. new(CustomerOrderSub),
  79. )
  80. fmt.Printf("error=======>%v\n\n", err)
  81. }