That's a clever way to update the appid. I do not know if it works for all cases (e.g. it may not work for all reference properties (stored keys)) but is a neat trick.
Another way to deal with it is to use the --default_partition="" flag rather than using an older version of the sdk. --Matthew On Jul 22, 12:17 pm, c h <how...@umich.edu> wrote: > hi all, > > i *think* that it is honoring your datastore location (though the log > message is incorrect), but the change to rename your application to > dev~<your appname> in development has just rendered all of our test data > useless. > > after re-importing my test data it does look like it is stored where i ask > it to be, but under the new application name. > > if you are lucky enough to be using sqlite you can connect to the db and > rename some tables to get it to work: > > sqlite3 local_appname_dev_sqlite.datastore > sqlite> .tables > Apps > IdSeq > Namespaces > appname!!Entities > appname!!EntitiesByProperty > appname!namespace!Entities > appname!namespace!EntitiesByProperty > sqlite> alter table `appname!!Entities` rename to `dev~appname!!Entities`; > sqlite> alter table `appname!!EntitiesByProperty` rename to > `dev~appname!!EntitiesByProperty`; > sqlite> alter table `appname!namespace!Entities` rename to > `dev~appname!namespace!Entities`; > sqlite> alter table `appname!namespace!EntitiesByProperty` rename to > `dev~appname!namespace!EntitiesByProperty`; > > where you substitute 'appname' for your application's name, and 'namespace' > for your datanamespace. > > cfh -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.