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
f2d0fa3f
Commit
f2d0fa3f
authored
Mar 11, 2003
by
Robert Ricci
Browse files
Make it illegal to put NULLs in interfaces.iface
parent
9818a053
Changes
2
Hide whitespace changes
Inline
Side-by-side
sql/database-create.sql
View file @
f2d0fa3f
...
...
@@ -354,7 +354,7 @@ CREATE TABLE interfaces (
IPalias
varchar
(
15
)
default
NULL
,
IPaliases
text
,
interface_type
varchar
(
30
)
default
NULL
,
iface
text
,
iface
text
NOT
NULL
,
current_speed
enum
(
'100'
,
'10'
,
'1000'
)
NOT
NULL
default
'100'
,
duplex
enum
(
'full'
,
'half'
)
NOT
NULL
default
'full'
,
PRIMARY
KEY
(
node_id
,
card
,
port
),
...
...
sql/database-migrate.txt
View file @
f2d0fa3f
...
...
@@ -4,4 +4,9 @@
# into compliance.
#
# Please indicate the CVS revision number your instructions refer to.
#
\ No newline at end of file
#
1.112 - Made it illegal to put NULL values in interfaces.iface . Would be a
good idea to run:
select * from interfaces where iface is null;
first, to make sure you don't have any!
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