Hi Nick, How about the opposite way? I mean, is switching from TextProperty to StringProperty safe? Thank you in advance.
Hai On Friday, 5 March 2010 19:24:10 UTC+7, Nick Johnson (Google) wrote: > > Yes, it's always safe to switch from StringProperty to TextProperty. > Existing records will remain indexed until you get and put them again, but > they will work as expected. > > -Nick Johnson > > On Fri, Mar 5, 2010 at 6:26 AM, Waleed Abdulla <[email protected]<javascript:> > > wrote: > >> Bump. I was about to post the same question. Is it safe to change the >> type of a model property from string to text? >> >> Waleed >> >> >> >> >> On Thu, Mar 4, 2010 at 10:02 AM, johnP <[email protected] <javascript:> >> > wrote: >> >>> Hi - >>> >>> I have a bunch of records with a StringProperty field. I do not need >>> them indexed, and now I need to allow users to add more than 500 >>> characters. So I need to migrate these records to TextProperty. >>> >>> In the dev datastore, simply switching the property in Models does not >>> show any obvious errors. Is it safe to make such a switch on >>> production? Or are there possible land-mines I'm not considering? >>> >>> Thanks for any assistance. >>> >>> johnP >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Google App Engine" group. >>> To post to this group, send email to >>> [email protected]<javascript:> >>> . >>> To unsubscribe from this group, send email to >>> [email protected] <javascript:>. >>> For more options, visit this group at >>> http://groups.google.com/group/google-appengine?hl=en. >>> >>> >> -- >> You received this message because you are subscribed to the Google Groups >> "Google App Engine" group. >> To post to this group, send email to >> [email protected]<javascript:> >> . >> To unsubscribe from this group, send email to >> [email protected] <javascript:>. >> For more options, visit this group at >> http://groups.google.com/group/google-appengine?hl=en. >> > > > > -- > Nick Johnson, Developer Programs Engineer, App Engine > Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number: > 368047 > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-appengine?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
