text: from shopyoapi.init import db
  
  class Setting(db.Model):
      __tablename__ = 'settings'
      id = db.Column(db.Integer, primary_key=True)
      name = db.Column(db.String(200))
      value = db.Column(db.String(200))
  
      def insert(self):
          db.session.add(self)
          db.session.commit()
  
      def update(self):
          db.session.commit()
  
      def delete(self):
          db.session.delete(self)
          db.session.commit()