Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Updated installing avatars from projects. #7392

Merged
merged 1 commit into from
Dec 30, 2022
Merged

Conversation

barankyle
Copy link
Member

@barankyle barankyle commented Dec 28, 2022

Summary

avatar and static-resource tables now have a column to link them to a project. When a installAvatarsFromProject is called, it makes new avatars and their associated static-resources linked to that project.

installAvatarsFromProject also now checks if each avatar with that name, and associated with that project, exists before inserting it. This allows avatars to be added or changed without creating duplicates.

When a project is deleted, it now deletes all avatars and static-resources associated with that project.

References

closes #insert number here

Checklist

  • If this PR is still a WIP, convert to a draft
  • ensure all checks pass
  • When this PR is ready, mark it as "Ready for review"
  • Changes have been manually QA'd
  • Changes reviewed by at least 2 approved reviewer

QA Steps

List any additional steps required to QA the changes of this PR, as well as any supplemental images or videos.

@barankyle barankyle linked an issue Dec 28, 2022 that may be closed by this pull request
avatar and static-resource tables now have a column to link them to a project.
When a installAvatarsFromProject is called, it makes new avatars and their
associated static-resources linked to that project.

installAvatarsFromProject also now checks if each avatar with that name, and associated
with that project, exists before inserting it. This allows avatars to be added or changed
without creating duplicates.

When a project is deleted, it now deletes all avatars and static-resources associated
with that project.

Made install-projects call onUpdate on default-project
@barankyle barankyle force-pushed the project-avatar-update branch 2 times, most recently from 6277245 to 805045a Compare December 30, 2022 22:01
@barankyle barankyle merged commit acd5a95 into dev Dec 30, 2022
@barankyle barankyle deleted the project-avatar-update branch December 30, 2022 23:10
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: default-project does not update when updating engine
2 participants