diff --git a/mooc/models/mc.py b/mooc/models/mc.py index 881951d..2584e3f 100644 --- a/mooc/models/mc.py +++ b/mooc/models/mc.py @@ -20,7 +20,7 @@ class McCreditsRecharge(Base): backtype = Column(SmallInteger, nullable=False) class McCashRecord(Base): - __tablename__ = 'mc_cash_record' + __tablename__ = 'ims_mc_cash_record' id = Column(Integer, primary_key=True, index=True) uniacid = Column(Integer, nullable=False) @@ -41,7 +41,7 @@ class McCashRecord(Base): trade_type = Column(String(20), nullable=False) class McChatsRecord(Base): - __tablename__ = 'mc_chats_record' + __tablename__ = 'ims_mc_chats_record' id = Column(Integer, primary_key=True, index=True) uniacid = Column(Integer, nullable=False)