Bug #781
boolean are different depending on db
Start date:
12/13/2011
Due date:
% Done:
100%
Estimated time:
Description
Redmine is based on Ruby on Rails, and RoR uses different way of storing boolean depending on the db backend.
- on sqlite, it uses a string of length 1 with either 't' or 'f'
- on mysql, it uses a tiny int with 0 or 1 (aka "the normal way everybody does")
Associated revisions
History
Updated by Thomas Capricelli about 9 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
Applied in changeset 9fb6c218f720.
The way RoR stores boolean depends on the db: provides our own abstraction
for "boolean" and use it everywhere.
fixes #781