t-saideep/link-board — comment on commit c8f9af84f94486c3c7ff1b99ee9a6dd0c490b6d0
File:  line 0
By t-saideep:

I don't think appengine does the migration automatically. In your local case, did you already have a few fields with String?

Even if it's able to cast, the database will not have a consistent view - with some comments in Text and some in String - and maybe the kinds of operations we can do will be different for different formats. It's better to migrate the entire database to have all Text first.

On Feb 28, 2012, at 8:54 PM, Tejaswi Yerukalapudi wrote:

> I actually tested this and it was casting the StringProperty fine into
> TextProperty on my local (and even the reverse surprisingly). I wasn't sure
> if you needed to update the db to change the column type though, Rails
> automagically manages that for you..
>
> On Tue, Feb 28, 2012 at 10:10 PM, t-saideep <
> reply@reply.github.com
>> wrote:
>
>> This is not as easy. All the old comments which are using StringProperty
>> should be migrated to TextProperty first and then we can apply this.
>>
>> ---
>> Reply to this email directly or view it on GitHub:
>>
>> https://github.com/t-saideep/link-board/commit/c8f9af84f94486c3c7ff1b99ee9a6dd0c490b6d0#commitcomment-1024169
>>
>
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/t-saideep/link-board/commit/c8f9af84f94486c3c7ff1b99ee9a6dd0c490b6d0#commitcomment-1024355