This project is archived and is in readonly mode.
Interpret :limit as number of bytes
Reported by Tarmo Tänav | June 15th, 2008 @ 04:03 AM | in 2.1.1
I've updated the patch originally from http://dev.rubyonrails.org/ticke...
Integer limits are now treated as the number of bytes for both mysql and postgresql (and sqlite, as they always were). And schema dumping also calculates the closest matching number of bytes for the types so bigint will be properly dumped as integer with a limit of 8.
Comments and changes to this ticket
-
Jeremy Kemper June 16th, 2008 @ 12:26 PM
- Milestone set to 2.1.1
- State changed from new to open
- Assigned user set to Jeremy Kemper
-
Repository June 23rd, 2008 @ 04:50 AM
- State changed from open to resolved
(from [a2eab629dcd90792b5a392e89d6260301b6fd485]) Always treat integer :limit as byte length. [#420 state:resolved]
-
Repository June 23rd, 2008 @ 04:50 AM
(from [baddea95e183b3bef290ec433f917ee8cd806934]) Always treat integer :limit as byte length. [#420 state:resolved]
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>