Avoid central index.cds files to ease extensibility

This commit is contained in:
Daniel
2021-03-02 10:37:02 +01:00
parent 861094cc83
commit 2975038696
5 changed files with 3 additions and 3 deletions

8
fiori/db/schema.cds Normal file
View File

@@ -0,0 +1,8 @@
using { sap.capire.bookshop } from '@capire/bookshop';
// Forward-declare calculated fields to be filled in database-specific ways
// TODO find a better way to have 'default' fields that still can be overwritten.
extend bookshop.Authors with {
virtual age: Integer;
virtual lifetime: String;
}