Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
03fabbf7
Commit
03fabbf7
authored
Jan 27, 2017
by
Leigh B Stoller
Browse files
Bump script_name in scripts table to 64 (from 24).
parent
a397c0be
Changes
2
Hide whitespace changes
Inline
Side-by-side
sql/database-create.sql
View file @
03fabbf7
...
...
@@ -4516,7 +4516,7 @@ CREATE TABLE `scheduled_reloads` (
DROP
TABLE
IF
EXISTS
`scripts`
;
CREATE
TABLE
`scripts`
(
`script`
smallint
(
3
)
NOT
NULL
auto_increment
,
`script_name`
varchar
(
2
4
)
NOT
NULL
default
''
,
`script_name`
varchar
(
6
4
)
NOT
NULL
default
''
,
PRIMARY
KEY
(
`script`
),
UNIQUE
KEY
`id`
(
`script_name`
)
)
ENGINE
=
MyISAM
DEFAULT
CHARSET
=
latin1
;
...
...
sql/updates/4/562
0 → 100644
View file @
03fabbf7
use strict;
use libdb;
sub DoUpdate($$$)
{
my ($dbhandle, $dbname, $version) = @_;
DBQueryFatal("alter table scripts change `script_name` " .
" `script_name` varchar(64) NOT NULL default ''");
return 0;
}
# Local Variables:
# mode:perl
# End:
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