model-service/model_service/model/default.py

7 lines
193 B
Python
Raw Normal View History

2020-04-14 02:01:44 +02:00
#!/usr/bin/env python3
from .db import db
class Default(db.Model):
default_id = db.Column(db.Integer, db.ForeignKey("details.id"), nullable=False)
default = db.relationship("Details")