model-service/model_service/model/default.py
2020-04-14 02:01:44 +02:00

7 lines
193 B
Python

#!/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")