Code

Opened 6 years ago

Closed 6 years ago

Last modified 3 years ago

#8347 closed (fixed)

missing fields/definitions in sqlite3 introspection module

Reported by: trbs Owned by: nobody
Component: Database layer (models, ORM) Version: master
Severity: Keywords: sqlite, missing, fields, introspection
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

The floatfield is missing in sqlite3 introspection module, 'real' fields in sqlite3 are suppose to use FloatField in Django ORM.

Attached is a very simple patch to add it to the base_data_types_reverse list.

Attachments (2)

Change History (7)

comment:1 Changed 6 years ago by trbs

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

updated the patch to also include: 'smallint unsigned', 'integer unsigned' and 'decimal'.

comment:2 Changed 6 years ago by trbs

  • Keywords sqlite, missing, fields, introspection added
  • milestone set to 1.0
  • Summary changed from real / floatfield is missing in sqlite3 introspection module to missing fields/definitions in sqlite3 introspection module

comment:3 Changed 6 years ago by jacob

  • Triage Stage changed from Unreviewed to Accepted

comment:4 Changed 6 years ago by mtredinnick

  • Resolution set to fixed
  • Status changed from new to closed

(In [8580]) Fixed #8347 -- Added a few missing field type conversion to SQLite's inspectdb
handling. Patch from trbs.

comment:5 Changed 3 years ago by jacob

  • milestone 1.0 deleted

Milestone 1.0 deleted

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.