Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mention the naming technique for constraints generated by the schema module #5

Open
HeyItsJs opened this issue Nov 10, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@HeyItsJs
Copy link
Contributor

Space Cloud auto generates constraints like foreign keys and unique keys from the SDL. These constraints need to have a name. For example:

ADD CONSTRAINT <CONSTRAINT_NAME> PRIMARY KEY (Field1);

It will be better if we can document how Space Cloud chooses this CONSTRAINT_NAME based on the table and columns.

@HeyItsJs HeyItsJs added the enhancement New feature or request label Nov 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant