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

Add the on_update parameters to the ForeignKey field #19

Closed
ghost opened this issue Oct 1, 2021 · 1 comment
Closed

Add the on_update parameters to the ForeignKey field #19

ghost opened this issue Oct 1, 2021 · 1 comment
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers hacktoberfest

Comments

@ghost
Copy link

ghost commented Oct 1, 2021

The options available for these parameters:

  • SET NULL
  • SET DEFAULT
  • RESTRICT
  • NO ACTION
  • CASCADE

The default value is: NO ACTION

Reference Postgres: https://www.postgresqltutorial.com/postgresql-foreign-key/
Reference SQLite: https://www.sqlitetutorial.net/sqlite-foreign-key/

@ghost ghost added enhancement New feature or request hacktoberfest good first issue Good for newcomers labels Oct 1, 2021
@yurisds
Copy link
Contributor

yurisds commented Oct 1, 2021

Can you assign this one to me?

@ghost ghost assigned yurisds Oct 1, 2021
@ghost ghost closed this as completed Oct 1, 2021
ghost pushed a commit that referenced this issue Oct 1, 2021
ghost pushed a commit that referenced this issue Oct 1, 2021
@ghost ghost mentioned this issue Oct 1, 2021
ghost pushed a commit that referenced this issue Oct 1, 2021
ghost pushed a commit that referenced this issue Oct 1, 2021
@ghost ghost mentioned this issue Oct 3, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers hacktoberfest
Projects
None yet
Development

No branches or pull requests

1 participant