Cheers, applied
On 5/11/07, Mislav Marohnić <mislav.marohnic@gmail.com>
wrote:> This has never happened to me before, or I just didn't notice.
>
> The thing is, I've renamed a couple of integer columns. Now, everywhere
I
> migrated with SQLite there is no data in the same columns, just nils. I
> remembered that SQLite doesn't allow ALTER TABLE renaming of columns
and
> that the adapter hacks around it with a temp table, so I looked for unit
> tests that cover the feature. I found them in
"test/copy_table_sqlite.rb";
> they weren't a part of the suite. I've posted a minor patch in
#8328 to fix
> the issue and even tweaked the value-comparing test a little, but the
> problem is - it passes. SQLite successfully renames a column and preserves
> all values, but in my case the operation was destructive and I had to
> restore data in those columns from a backup.
>
> Did it happen to anyone else? Can someone try to quickly reproduce it with
> SQLite3?
>
> Thanks.
>
> --
> http://dev.rubyonrails.org/ticket/8328
>
> >
>
--
Cheers
Koz
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Core" group.
To post to this group, send email to rubyonrails-core@googlegroups.com
To unsubscribe from this group, send email to
rubyonrails-core-unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/rubyonrails-core?hl=en
-~----------~----~----~----~------~----~------~--~---