coleifer/peewee — Issue #15: FloatField is translated differently between supported implementations
Author: rmarmelo
Created: 2011-11-18 02:29:38+00:00
State: open

Floats, by definition, should only take 4 bytes.

*Currently:*
* SQLite, real, 8 bytes
* MySQL, double precision, 8 bytes
* PostgreSQL, real, 4 bytes

*Proposal:*
* SQLite should continue using real (I believe there is no 4 bytes floating point datatype).
* MySQL should be using float, 4 bytes.