summaryrefslogtreecommitdiffstats
path: root/Bugzilla/DB
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2006-09-14 09:33:41 +0200
committermkanat%bugzilla.org <>2006-09-14 09:33:41 +0200
commit110e9309a0418b63c1d919936c3e1d13396b9fc3 (patch)
tree15fa34740fde69b048d9fa13f048a41792c87dbe /Bugzilla/DB
parentcc842c06f8dd3d3f610351f4f9f6666850a3500b (diff)
downloadbugzilla-110e9309a0418b63c1d919936c3e1d13396b9fc3.tar.gz
bugzilla-110e9309a0418b63c1d919936c3e1d13396b9fc3.tar.xz
Bug 346597: Have Bugzilla::Group implement Bugzilla::Object->create, and make checksetup.pl use it
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=myk
Diffstat (limited to 'Bugzilla/DB')
-rw-r--r--Bugzilla/DB/Schema.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/Bugzilla/DB/Schema.pm b/Bugzilla/DB/Schema.pm
index 384fb478b..90385798f 100644
--- a/Bugzilla/DB/Schema.pm
+++ b/Bugzilla/DB/Schema.pm
@@ -786,7 +786,7 @@ use constant ABSTRACT_SCHEMA => {
isbless => {TYPE => 'BOOLEAN', NOTNULL => 1,
DEFAULT => 'FALSE'},
grant_type => {TYPE => 'INT1', NOTNULL => 1,
- DEFAULT => '0'},
+ DEFAULT => GRANT_DIRECT},
],
INDEXES => [
user_group_map_user_id_idx =>
@@ -807,7 +807,7 @@ use constant ABSTRACT_SCHEMA => {
member_id => {TYPE => 'INT3', NOTNULL => 1},
grantor_id => {TYPE => 'INT3', NOTNULL => 1},
grant_type => {TYPE => 'INT1', NOTNULL => 1,
- DEFAULT => '0'},
+ DEFAULT => GROUP_MEMBERSHIP},
],
INDEXES => [
group_group_map_member_id_idx =>