Commit f4a0c339 authored by Dr.李's avatar Dr.李

fixed models ref_date bug

parent 38432d45
...@@ -2370,10 +2370,10 @@ class Uqer(Base): ...@@ -2370,10 +2370,10 @@ class Uqer(Base):
NLSIZE = Column(Float(53)) NLSIZE = Column(Float(53))
class DataLog(Base): class FactorLog(Base):
__tablename__ = 'data_log' __tablename__ = 'factor_log'
__table_args__ = ( __table_args__ = (
Index('data_log_idx', 'trade_date', 'factor', 'source', 'universe', unique=True), Index('factor_log_idx', 'trade_date', 'factor', 'source', 'universe', unique=True),
) )
trade_date = Column(DateTime, primary_key=True, nullable=False) trade_date = Column(DateTime, primary_key=True, nullable=False)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment