#32672: Primary Key, type double and type unsigned integer ain't detected 
correctly
for Sqlite3 Database
-------------------------------------+-------------------------------------
     Reporter:  juliangrube1988      |                    Owner:  nobody
         Type:  Bug                  |                   Status:  new
    Component:  Database layer       |                  Version:  3.2
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:
     Keywords:  SQLite3 PrimaryKey   |             Triage Stage:
  Datatypes                          |  Unreviewed
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  1                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by juliangrube1988):

 * easy:  0 => 1


Old description:

> While creating models with "inspectdb" i discovered, that there are
> currently some issues with SQLite3 Databases.
> - PrimaryKeys ain't detected properly
> - Datatype double ain't detected properly
> - Datatype unsigned int ain't detected properly
>
> Reproduce these issues by creating a SQLite3 Database:
> CREATE TABLE "test" ( `pId` INTEGER NOT NULL, `doubleField` DOUBLE NOT
> NULL, `uInt` UNSIGNED INTEGER NOT NULL, PRIMARY KEY(`pId`) )

New description:

 While creating models with "inspectdb" i discovered, that there are
 currently some issues with SQLite3 Databases.
 - PrimaryKeys ain't detected properly
 - Datatype double ain't detected properly
 - Datatype unsigned int ain't detected properly

 Reproduce these issues by creating a SQLite3 Database:
 CREATE TABLE "test" ( `pId` INTEGER NOT NULL, `doubleField` DOUBLE NOT
 NULL, `uInt` UNSIGNED INTEGER NOT NULL, PRIMARY KEY(`pId`) )

 I added a pullrequest:
 https://github.com/django/django/pull/14293

--

-- 
Ticket URL: <https://code.djangoproject.com/ticket/32672#comment:1>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/073.fab9f30ff8ab112ccf63a7efcacd97a2%40djangoproject.com.

Reply via email to