Sfoglia il codice sorgente

order -user, use owner

Ivan Asmer 5 anni fa
parent
commit
c924c8d806
1 ha cambiato i file con 0 aggiunte e 1 eliminazioni
  1. 0 1
      models.js

+ 0 - 1
models.js

@@ -115,7 +115,6 @@ module.exports = async (dbName='shop') => {
 
             static get relations(){
                 return {
-                    user: ["orders"],
                     orderGoods: "order"
                 }
             }