Closed
Description
Hi, I would like to know how I can specify that only one data source is loaded, so that the test only loads the data from test/data
and during development only the data from db/data
and both can run smoothly.
The documentation under Location of CSV Files only describes the paths where I can create files to load them, but not how I can ignore certain paths, otherwise the following error occurs when starting my application or running my tests:
the following error occurs...
SqliteError: in cds.deploy(): ENTITY_ALREADY_EXISTS
Query {
INSERT: {
into: { ref: [ 'sap.common.Currencies' ] },
columns: [ 'name', 'descr', 'code', 'symbol', 'minorUnit' ],
rows: [
[ 'Euro', 'European Euro', 'EUR', '€', '2' ],
[ 'US Dollar', 'United States Dollar', 'USD', '$', '2' ]
]
}
}
Metadata
Metadata
Assignees
Labels
No labels