I changed my model from

class Item(db.Model):
    title = db.StringProperty()
    url = db.StringProperty()
    date = db.DateTimeProperty(auto_now_add=True)
    author = db.UserProperty()
    vote = db.IntegerProperty(default=1)

to

class SiteUser(db.Model):
    user = db.UserProperty()
    total_votes = db.IntegerProperty(default=1)
    liked_items = db.StringProperty()

class Item(db.Model):
    user_who_liked_this_item = db.UserProperty()
    title = db.StringProperty()
    url = db.StringProperty()
    date = db.DateTimeProperty(auto_now_add=True)
    points = db.IntegerProperty(default=1)

to keep track of the user voting. Development server gracefully
accepted the change and created the new table and columns. But when I
deploy the new version I see that the old model persists. I uploaded
the new version as version 2, but still nothing changed.

I don't care about the data already on the site, I just want to have
the new version up and running. How do I do this?

Thanks!

-- 
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].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to