Skip to content

Commit 60c97af

Browse files
committed
Removing extra voodoo for native-hana-samples.zip
1 parent 2854070 commit 60c97af

File tree

3 files changed

+0
-8
lines changed

3 files changed

+0
-8
lines changed

.vitepress/config.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -207,12 +207,6 @@ config.buildEnd = async ({ outDir, site }) => {
207207

208208
// disabled by default to avoid online fetches during local build
209209
if (process.env.VITE_CAPIRE_EXTRA_ASSETS) {
210-
// zip assets aren't copied automatically, and `vite.assetInclude` doesn't work either
211-
const archive = 'advanced/assets/native-hana-samples.zip'
212-
await fs.mkdir(path.dirname(path.join(outDir, archive)), {recursive: true})
213-
console.debug('✓ copying HANA assets to ', path.join(outDir, archive)) // eslint-disable-line no-console
214-
215-
await fs.copyFile(path.join(__dirname, '..', archive), path.join(outDir, archive))
216210
await cdsMavenSite.copySiteAssets(path.join(outDir, 'java/assets/cds-maven-plugin-site'), site)
217211
}
218212
}

guides/databases/hana-native.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -525,8 +525,6 @@ By default, `cds` maps UUIDs to `nvarchar(36)` in SQL databases. The length is t
525525
> If the client side needs to work with the UUID, VARBINARY would lead to CAST operations or binary array handling at the client side. Here **NVARCHAR would be the data type of choice** to avoid handling binary arrays on the client side.
526526
### Example Index
527527

528-
> [Download from here](native-hana-samples.zip) a fully fledged model with even more examples.
529-
530528
| What | Database Object | Mapping Object | Facade Entity |
531529
| --- | --- | --- | --- |
532530
| | | | data.model.Bookshop... |
-15 KB
Binary file not shown.

0 commit comments

Comments
 (0)