From 8ac78593695c4de08565705b3ccce6ba124dc25f Mon Sep 17 00:00:00 2001 From: Christopher Allan Webber Date: Tue, 8 Oct 2013 10:33:00 -0500 Subject: [PATCH] Adding a comment explaining what vR1 means. This commit sponsored by Kim Jin-hoon. Thank you! --- mediagoblin/db/migrations.py | 4 ++++ 1 file changed, 4 insertions(+) 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) -- 2.25.1