Thanks to visit codestin.com
Credit goes to github.com

Skip to content

django: add support for FOREIGN KEY constraints #313

@odeke-em

Description

@odeke-em

On Thu 5 Mar 2020, Cloud Spanner announced support for FOREIGN KEYS as per https://cloud.google.com/spanner/docs/release-notes and https://cloud.google.com/spanner/docs/foreign-keys/overview

We need to add support for FOREIGN KEYS now, perhaps per https://github.com/orijtech/django-spanner/blob/189b71de3ab868c4924708396086843db6a6e506/spanner/django/features.py#L13

and then enable the tests that assumed no FOREIGN KEY support.

Metadata

Metadata

Assignees

Labels

api: spannerIssues related to the googleapis/python-spanner-django API.blockedIssues that cannot be implemented because of some limitpriority: p2Moderately-important priority. Fix may not be included in next release.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions