Change value of key database on server.js
Example:
For Brand Table :
{
name: "Microsoft"
}
For Device Table :
{
name: "Surface Book"
storage: "256GB"
color: "Grey"
code: 512GB // key code is automatically generated
brand: {name: "Microsoft"} // automatically by reference on Brand Table
}
So you just change key name
on Brand table, and change keys name
, storage
, color
on Device table.
$ cd
$ npm run dev