add medreport schema

This commit is contained in:
Danel Kungla
2025-07-09 13:31:37 +03:00
parent 9371ff7710
commit d9198a8a12
73 changed files with 420 additions and 270 deletions

View File

@@ -53,6 +53,7 @@ export function UpdateTeamAccountImage(props: {
uploadUserProfilePhoto(client, file, props.account.id).then(
(pictureUrl) => {
return client
.schema('medreport')
.from('accounts')
.update({
picture_url: pictureUrl,
@@ -68,6 +69,7 @@ export function UpdateTeamAccountImage(props: {
const promise = () =>
removeExistingStorageFile().then(() => {
return client
.schema('medreport')
.from('accounts')
.update({
picture_url: null,