Skip to content

Commit

Permalink
Added commenter group.
Browse files Browse the repository at this point in the history
  • Loading branch information
illume committed Mar 3, 2017
1 parent 23aa54c commit 07f12dd
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -22,6 +22,7 @@ def upgrade():
op.execute('INSERT into users_groups (users_id, groups_id) SELECT users_id,2 FROM project')
# users who have super=1, we add them to the admin group.
op.execute('INSERT into users_groups (users_id, groups_id) SELECT id,1 FROM users WHERE super=1;')
op.execute("INSERT into groups VALUES (11, 'commenter', 'Commenter', 11)")
# ### end Alembic commands ###


Expand Down

0 comments on commit 07f12dd

Please sign in to comment.