| We only support one schema per deployment. The task is about writing the backend side of the schema editor. If no Schema exists yet it has to be created. Otherwise the existing one should be returned. Have a look at https://github.com/pb82/data-sync-ui/blob/schema-editor/server/gql/schema.js#L75 for the POC implementation. The schema table should have only one column: 'schema' (of type String). The backend should return the source code (stored in the 'schema' column) and the compiled result to the ui. The POC implements compilation here: https://github.com/pb82/data-sync-ui/blob/schema-editor/server/gql/helper.js |