in apply
raise TypeError(
TypeError: Model CategoryRu has no table, primary key or custom lookup()
class CategoryRu(db.Model):
tablename = "category_ru"
id = Column(SMALLINT, ForeignKey("
categories.id"), nullable=False, unique=True)
name = Column(String(25), nullable=False)