Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
51bb0240
Commit
51bb0240
authored
Apr 27, 2005
by
mkanat%kerio.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 286695: bugs.resolution needs a default value
Patch By Tomas Kopal <Tomas.Kopal@altap.cz> r=mkanat, a=justdave
parent
ef3ef0d4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
Schema.pm
Bugzilla/DB/Schema.pm
+2
-1
checksetup.pl
checksetup.pl
+2
-1
No files found.
Bugzilla/DB/Schema.pm
View file @
51bb0240
...
...
@@ -165,7 +165,8 @@ use constant ABSTRACT_SCHEMA => {
reporter
=>
{
TYPE
=>
'INT3'
,
NOTNULL
=>
1
},
version
=>
{
TYPE
=>
'varchar(64)'
,
NOTNULL
=>
1
},
component_id
=>
{
TYPE
=>
'INT2'
,
NOTNULL
=>
1
},
resolution
=>
{
TYPE
=>
'varchar(64)'
,
NOTNULL
=>
1
},
resolution
=>
{
TYPE
=>
'varchar(64)'
,
NOTNULL
=>
1
,
DEFAULT
=>
"''"
},
target_milestone
=>
{
TYPE
=>
'varchar(20)'
,
NOTNULL
=>
1
,
DEFAULT
=>
"'---'"
},
qa_contact
=>
{
TYPE
=>
'INT3'
},
...
...
checksetup.pl
View file @
51bb0240
...
...
@@ -3606,8 +3606,9 @@ if (!$dbh->bz_column_info('longdescs', 'already_wrapped')) {
# standard varchars in the bugs table.
$dbh
->
bz_alter_column
(
'bugs'
,
'bug_status'
,
{
TYPE
=>
'varchar(64)'
,
NOTNULL
=>
1
});
# 2005-03-23 Tomas.Kopal@altap.cz - add default value to resolution, bug 286695
$dbh
->
bz_alter_column
(
'bugs'
,
'resolution'
,
{
TYPE
=>
'varchar(64)'
,
NOTNULL
=>
1
});
{
TYPE
=>
'varchar(64)'
,
NOTNULL
=>
1
,
DEFAULT
=>
"''"
});
$dbh
->
bz_alter_column
(
'bugs'
,
'priority'
,
{
TYPE
=>
'varchar(64)'
,
NOTNULL
=>
1
});
$dbh
->
bz_alter_column
(
'bugs'
,
'bug_severity'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment