Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Muhammad Bilal
Pod backend
Commits
17089f20
Unverified
Commit
17089f20
authored
4 years ago
by
Vasili Novikov
Browse files
Options
Download
Email Patches
Plain Diff
Update Schema documentation
parent
45008339
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/Schema.md
+2
-17
docs/Schema.md
with
2 additions
and
17 deletions
+2
-17
docs/Schema.md
+
2
-
17
View file @
17089f20
...
...
@@ -65,21 +65,6 @@ All property names MUST consist of `a-zA-Z0-9_` characters only, and start with
All type names MUST consist of
`a-zA-Z0-9_`
characters only, and start with
`a-zA-Z`
(same as column names).
### Changing the schema locally
If you want to make local changes to the schema while developing
new functionality, you can edit the schema directly.
It's located in
`/res/autogenerated_database_schema.json`
.
Simply re-start the Pod to apply the changes.
### Contributing your schema
The schema is also used in iOS and other projects.
To make it available universally, please submit your schema to the "schema" repository:
[
https://gitlab.memri.io/memri/schema
](
https://gitlab.memri.io/memri/schema
)
.
Changes made to "schema" repository will allow you to generate new definitions
for other projects, and for Pod.
You can copy the newly generated JSON to Pod during development.
You can contribute to the schemas by making a Merge Requests for the "schema" repository.
Please refer to that repo's documentation on how to work with it and do it best.
TODO: the way of working with Schema has changed and is not fully documented yet.
Refer to the
[
HTTP_API
](
./HTTP_API.md
)
to see how you can change the Schema for now.
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment