更新debug
This commit is contained in:
+4
-4
@@ -46,18 +46,18 @@ class Employments(Base): #学生就
|
||||
# )
|
||||
company_id = Column(Integer #公司id,外键匹配公司表
|
||||
, ForeignKey('Company.id')
|
||||
, nullable=False
|
||||
, nullable=True
|
||||
|
||||
)
|
||||
# address_id = Column(Integer
|
||||
# , ForeignKey('Address.id')
|
||||
# , nullable=False
|
||||
# )
|
||||
employment_salary = Column(Integer) #薪资
|
||||
employment_salary = Column(Integer, nullable=True) #薪资
|
||||
|
||||
employment_open_time = Column(DATE) #就业开放时间
|
||||
employment_open_time = Column(DATE, nullable=True) #就业开放时间
|
||||
|
||||
offer_recived_time = Column(DATE) #offer下发时间
|
||||
offer_recived_time = Column(DATE, nullable=True) #offer下发时间
|
||||
|
||||
create_time = Column(DATETIME #创建数据时间
|
||||
, default=datetime.now
|
||||
|
||||
Reference in New Issue
Block a user