Comments (2)
Hi, could you copy the full error message. Also, what's the mssql-django, SQL Server and OS version?
from mssql-django.
mssql-django's DatabaseWrapper.data_type_check_constraints['JSONField']
contains an ISJSON
check. This T-SQL function is only available on SQL Server 2016 and up so if you're running an earlier version you'll get an error when you try to create such a field.
I don't know what the right thing to do is for mssql-django generally. (For us, having a schema that differed depending on mssql version was undesirable so we just unconditionally monkey-patched the constraint out of data_type_check_constraints
, but for others the check may be desirable.)
from mssql-django.
Related Issues (20)
- How to enable REGEXP_LIKE function on Azure SQL Server HOT 2
- [QUESTION] HOT 3
- [QUESTION] How to use executemany with raw query? HOT 3
- Named filter not working HOT 2
- CursorWrapper._as_sql_type should handle bytes values HOT 3
- Unable to connect from Docker container running django to SQL Server using the FreeTDS driver HOT 1
- Query results different on 1.5 on static query. HOT 5
- 10 minutes to close connection after an occurrence of 'query_timeout'. HOT 3
- [QUESTION]Here are two questions, Can it support python 3.11?and Can it support django async well? HOT 8
- [QUESTION]I user mssql-django and how to support chinese?When inserting Chinese using SQL , it was found from the database that it was garbled。 HOT 2
- Close db connection immediately after calling a complex procedure cause db rollback HOT 1
- Can't add a field to an existing model without allowing null values when specifing table schema HOT 3
- Migration can fail if previous migration has an index with a field that starts with hyphen HOT 1
- UUID queries are made with NCHAR HOT 3
- Migrate Failed with Django 5.1 HOT 3
- Support JSONObject HOT 1
- explain_format missing in self.query causes django admin app to not work properly HOT 1
- Possible regression in inspectdb with schema argument HOT 2
- Having both a CTE, a GROUP BY and parameters causes crashes. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mssql-django.