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
6b8767f1
Commit
6b8767f1
authored
Feb 08, 2005
by
Robert Ricci
Browse files
Change the default for os_info.OS back to 'Unknown' instead of NULL.
Found by Tim.
parent
e3b20517
Changes
2
Show whitespace changes
Inline
Side-by-side
sql/database-create.sql
View file @
6b8767f1
...
...
@@ -1268,7 +1268,7 @@ CREATE TABLE os_info (
creator
varchar
(
8
)
default
NULL
,
created
datetime
default
NULL
,
description
tinytext
NOT
NULL
,
OS
enum
(
'Unknown'
,
'Linux'
,
'FreeBSD'
,
'NetBSD'
,
'OSKit'
,
'Windows'
,
'
Other'
)
NOT
NULL
default
'Unknown'
,
OS
enum
(
'Unknown'
,
'Linux'
,
'FreeBSD'
,
'NetBSD'
,
'OSKit'
,
'Windows'
,
'
TinyOS'
,
'Other'
)
default
'Unknown'
,
version
varchar
(
12
)
default
''
,
path
tinytext
,
magic
tinytext
,
...
...
sql/database-migrate.txt
View file @
6b8767f1
...
...
@@ -2451,3 +2451,7 @@ last_net_act,last_cpu_act,last_ext_act);
unsigned default NULL after panic_date;
alter table experiment_resources add delay_capacity tinyint(3) \
unsigned default NULL after maxlinks;
1.324: Change the default for os_info.OS back to 'Unknown' instead of NULL:
alter table os_info alter column OS set default 'Unknown';
Write
Preview
Supports
Markdown
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