From: Christopher Allan Webber Date: Tue, 8 Oct 2013 15:33:00 +0000 (-0500) Subject: Adding a comment explaining what vR1 means. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=8ac78593695c4de08565705b3ccce6ba124dc25f;p=mediagoblin.git Adding a comment explaining what vR1 means. This commit sponsored by Kim Jin-hoon. Thank you! --- diff --git a/mediagoblin/db/migrations.py b/mediagoblin/db/migrations.py index df9c38a9..bd615614 100644 --- a/mediagoblin/db/migrations.py +++ b/mediagoblin/db/migrations.py @@ -578,6 +578,10 @@ PRIVILEGE_FOUNDATIONS_v0 = [{'privilege_name':u'admin'}, {'privilege_name':u'active'}] +# vR1 stands for "version Rename 1". This only exists because we need +# to deal with dropping some booleans and it's otherwise impossible +# with sqlite. + class User_vR1(declarative_base()): __tablename__ = 'rename__users' id = Column(Integer, primary_key=True)