This project is archived and is in readonly mode.
Raise error if renaming nonexisting column in sqlite
Reported by Tarmo Tänav | July 15th, 2008 @ 03:29 AM | in 2.x
Currently sqlite seems to silently ignore rename_column called on a nonexisting column, this patch causes an ActiveRecordError to be raised in that case. This actually fixes a test for this behavior which is why the patch does not contain a test.
Comments and changes to this ticket
-
Repository July 15th, 2008 @ 07:39 AM
- State changed from new to resolved
- Tag set to activerecord, patch
(from [c1531ae00dbd3ac804bce02733e050ec43400607]) SQLite: rename_column raises if the column doesn't exist.
[#622 state:resolved]
-
Repository July 15th, 2008 @ 11:57 PM
(from [536400bfcf2eafc2f724b2a9dd899cd9bdb26f09]) SQLite: rename_column raises if the column doesn't exist.
[#622 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>