File tree 1 file changed +8
-15
lines changed
1 file changed +8
-15
lines changed Original file line number Diff line number Diff line change @@ -283,23 +283,16 @@ were created.
283
283
Spanner does not support ``ON DELETE CASCADE `` when creating foreign-key
284
284
constraints, so this is not supported in ``django-google-spanner ``.
285
285
286
- Check constraints aren't supported
287
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
286
+ `` Unsigned `` datatypes are not supported
287
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
288
288
289
- Spanner does not support ``CHECK `` constraints so one isn't created for
290
- `PositiveIntegerField
289
+ Spanner does not support ``Unsigned `` datatypes so `PositiveIntegerField
291
290
<https://docs.djangoproject.com/en/stable/ref/models/fields/#positiveintegerfield> `__
292
- and `CheckConstraint
293
- <https://docs.djangoproject.com/en/stable/ref/models/constraints/#checkconstraint> `__
294
- can't be used.
295
-
296
- No native support for ``DecimalField ``
297
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
298
-
299
- Spanner's support for `Decimal <https://www.python.org/dev/peps/pep-0327/ >`__
300
- types is limited to
301
- `NUMERIC <https://cloud.google.com/spanner/docs/data-types#numeric_types >`__
302
- precision. Higher-precision values can be stored as strings instead.
291
+ and `PositiveSmallIntegerField
292
+ <https://docs.djangoproject.com/en/3.2/ref/models/fields/#positivesmallintegerfield> `__
293
+ are both stored as `Integer type
294
+ <https://cloud.google.com/spanner/docs/data-types#integer_type> `__
295
+ .
303
296
304
297
``Meta.order_with_respect_to `` model option isn't supported
305
298
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
You can’t perform that action at this time.
0 commit comments