Do not save file extension as a separate field.

It turned out that saving the file extension in a separate field is not necessary. Instead, the extension is saved in the complete filename in the `id` field.

Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
David Mehren 2020-10-16 22:32:58 +02:00
parent dc49bfcccb
commit 23ba2026cc
No known key found for this signature in database
GPG key ID: 185982BA4C42B7C3
2 changed files with 6 additions and 10 deletions

View file

@ -120,7 +120,6 @@ entity "MediaUpload" {
--
*noteId : uuid <<FK Note>>
*userId : uuid <<FK User>>
*extension : text
*backendType: text
backendData: text
*createdAt : date