Skip to content

Set project logo in settings with new files sync feature #184

@ulfgebhardt

Description

@ulfgebhardt

Is your feature request related to a problem? Please describe.
The new seed-files feature works well, but I do not know how to set the project logo in settings.json

Is this possible yet?

I assume there is a conflict with settings being written with the command directus-sync push while files are written with directus-sync seed push.

Describe the solution you'd like
I'd like to reference files in other collections and seed this data. This includes the directus settings for the project_logo

Describe alternatives you've considered

Currently I run

UPDATE public.directus_settings SET project_logo = (SELECT id FROM directus_files WHERE filename_download = 'utopia-logo.svg');

Which works but is obviously flawed

Additional context

Relates utopia-os/utopia-map#325

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions