Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Remove column from datastore

I have updated a model of which some instance have already been stored in the datastore. I deleted some of its properties.
Is is possible to fully delete those properties from the datastore?
(I don't mean setting it to None)

like image 972
Remco Haszing Avatar asked Sep 03 '25 04:09

Remco Haszing


1 Answers

After changing your model, newer rows added will not have the column. Existing rows will continue to have the column. You should be able to run an update on the existing data to remove that column using the article given below.

Docs article: https://developers.google.com/appengine/articles/update_schema

like image 59
abel Avatar answered Sep 05 '25 21:09

abel