FeatureFuel
3

Schema Apply on Startup

Source: directus/directus#24647 · opened by @NilsBaumgartner1994
Summary So while developing on a test server, we would like to apply the schema to my other directus instances. Currently we are using directus-sync but it needs to manually trigger. Is there a way to automatically sync the schema for example with a hook, on init? Basic Example hook before init • check if schema folder a new schema exists • if schema found, apply it to sync from dev server to production servers, only a snapshop creation via cli would be needed. Motivation Managing the directus schema across multiple servers is tedious. Also the existence of such a library shows how important that feature is: Detailed Design • Requirements List Must Have: • Push schema on startup server Could Have: • Auto save schema on schema change Drawbacks Maintenance cost when handling the schema Alternatives Waiting for to develop a plugin / hook for this? Adoption Strategy • Unresolved Questions Is something like this using a…

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests