return Table("wrreportcache", metadata,
Column("page_id", types.Integer, primary_key=True),
Column("page_title", types.Unicode(255), nullable=False),
return Table("wrreportcache", metadata,
Column("page_id", types.Integer, primary_key=True),
Column("page_title", types.Unicode(255), nullable=False),
- Column("report_id", types.Integer),
+ Column("report_id", types.Integer, schema.ForeignKey('wrreport.id')),
Column("date_report", types.Date),
Column("condition", types.Integer),
Column("description", types.Unicode),
Column("date_report", types.Date),
Column("condition", types.Integer),
Column("description", types.Unicode),