moving front app to subfolder. add webpack config with watch and dev-server mode. moving deploy things in subfolder

This commit is contained in:
Dzmitry_Tamashevich@epam.com
2020-11-29 21:02:37 +03:00
committed by Daniel Hutzel
parent 0e86e1e1fd
commit dbe4b8a7bd
70 changed files with 2755 additions and 3 deletions

View File

@@ -4,8 +4,7 @@ module.exports = async function () {
const db = await cds.connect.to("db"); // connect to database service
this.on("CREATE", "*", async (req) => {
const selectLastQuery = SELECT.one(req.entity)
.orderBy({ ID: "desc" });
const selectLastQuery = SELECT.one(req.entity).orderBy({ ID: "desc" });
const transaction = await db.tx(req);