Show More
@@ -187,6 +187,7 b' class DbManage(object):' | |||||
187 |
|
187 | |||
188 | print ('installing new hooks') |
|
188 | print ('installing new hooks') | |
189 | hooks4 = RhodeCodeUi() |
|
189 | hooks4 = RhodeCodeUi() | |
|
190 | hooks4.ui_section = 'hooks' | |||
190 | hooks4.ui_key = RhodeCodeUi.HOOK_PRE_PUSH |
|
191 | hooks4.ui_key = RhodeCodeUi.HOOK_PRE_PUSH | |
191 | hooks4.ui_value = 'python:rhodecode.lib.hooks.pre_push' |
|
192 | hooks4.ui_value = 'python:rhodecode.lib.hooks.pre_push' | |
192 | Session().add(hooks4) |
|
193 | Session().add(hooks4) |
@@ -75,6 +75,17 b' def upgrade(migrate_engine):' | |||||
75 | inherit_default_permissions.alter(nullable=False, default=True, table=tbl) |
|
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 | # REPOSITORIES |
|
89 | # REPOSITORIES | |
79 | #========================================================================== |
|
90 | #========================================================================== | |
80 | from rhodecode.lib.dbmigrate.schema.db_1_3_0 import Repository |
|
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