Show More
@@ -187,6 +187,7 b' class DbManage(object):' | |||
|
187 | 187 | |
|
188 | 188 | print ('installing new hooks') |
|
189 | 189 | hooks4 = RhodeCodeUi() |
|
190 | hooks4.ui_section = 'hooks' | |
|
190 | 191 | hooks4.ui_key = RhodeCodeUi.HOOK_PRE_PUSH |
|
191 | 192 | hooks4.ui_value = 'python:rhodecode.lib.hooks.pre_push' |
|
192 | 193 | Session().add(hooks4) |
@@ -75,6 +75,17 b' def upgrade(migrate_engine):' | |||
|
75 | 75 | inherit_default_permissions.alter(nullable=False, default=True, table=tbl) |
|
76 | 76 | |
|
77 | 77 | #========================================================================== |
|
78 | # GROUPS TABLE | |
|
79 | #========================================================================== | |
|
80 | from rhodecode.lib.dbmigrate.schema.db_1_3_0 import RepoGroup | |
|
81 | tbl = RepoGroup.__table__ | |
|
82 | inherit_default_permissions = Column("inherit_default_permissions", | |
|
83 | Boolean(), nullable=True, unique=None, | |
|
84 | default=True) | |
|
85 | inherit_default_permissions.create(table=tbl) | |
|
86 | inherit_default_permissions.alter(nullable=False, default=True, table=tbl) | |
|
87 | ||
|
88 | #========================================================================== | |
|
78 | 89 | # REPOSITORIES |
|
79 | 90 | #========================================================================== |
|
80 | 91 | from rhodecode.lib.dbmigrate.schema.db_1_3_0 import Repository |
General Comments 0
You need to be logged in to leave comments.
Login now