Commit 367a5ced authored by Dr.李's avatar Dr.李

update table

parent 9e632546
...@@ -36,6 +36,7 @@ class Experimental(Base): ...@@ -36,6 +36,7 @@ class Experimental(Base):
DROE = Column(Float(53)) DROE = Column(Float(53))
IVR = Column(Float(53)) IVR = Column(Float(53))
ROEAfterNonRecurring = Column(Float(53)) ROEAfterNonRecurring = Column(Float(53))
EPAfterNonRecurring = Column(Float(53))
class FactorMaster(Base): class FactorMaster(Base):
...@@ -1101,5 +1102,5 @@ if __name__ == '__main__': ...@@ -1101,5 +1102,5 @@ if __name__ == '__main__':
from sqlalchemy import create_engine from sqlalchemy import create_engine
engine = create_engine('postgresql+psycopg2://postgres:A12345678!@10.63.6.220/alpha') engine = create_engine('postgresql+psycopg2://postgres:pwd@localhost/alpha')
Base.metadata.create_all(engine) Base.metadata.create_all(engine)
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