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
b0f144bc
Commit
b0f144bc
authored
Jun 03, 2008
by
Leigh B. Stoller
Browse files
Add nonlocal_user_bindings table to establish what nonlocal users get
accounts on slivers.
parent
4e3396cf
Changes
2
Hide whitespace changes
Inline
Side-by-side
sql/database-create.sql
View file @
b0f144bc
...
...
@@ -2216,10 +2216,24 @@ CREATE TABLE `nologins` (
PRIMARY
KEY
(
`nologins`
)
)
ENGINE
=
MyISAM
DEFAULT
CHARSET
=
latin1
;
--
-- Table structure for table `nonlocal_user_bindings`
--
DROP
TABLE
IF
EXISTS
`nonlocal_user_bindings`
;
CREATE
TABLE
`nonlocal_user_bindings`
(
`uid`
varchar
(
8
)
NOT
NULL
default
''
,
`uid_idx`
mediumint
(
8
)
unsigned
NOT
NULL
default
'0'
,
`exptidx`
int
(
11
)
NOT
NULL
default
'0'
,
PRIMARY
KEY
(
`uid_idx`
),
KEY
`uid`
(
`uid`
)
)
ENGINE
=
MyISAM
DEFAULT
CHARSET
=
latin1
;
--
-- Table structure for table `nonlocal_users`
--
DROP
TABLE
IF
EXISTS
`nonlocal_users`
;
CREATE
TABLE
`nonlocal_users`
(
`uid`
varchar
(
8
)
NOT
NULL
default
''
,
`uid_idx`
mediumint
(
8
)
unsigned
NOT
NULL
default
'0'
,
...
...
sql/database-migrate.txt
View file @
b0f144bc
...
...
@@ -4529,3 +4529,14 @@ last_net_act,last_cpu_act,last_ext_act);
UNIQUE KEY `uid_uuid` (`uid_uuid`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
4.154: Addition to previous revision. This table is for tmcd, to find
out what nonlocal users need to be created on slivers (nodes).
CREATE TABLE `nonlocal_user_bindings` (
`uid` varchar(8) NOT NULL default '',
`uid_idx` mediumint(8) unsigned NOT NULL default '0',
`exptidx` int(11) NOT NULL default '0',
PRIMARY KEY (`uid_idx`),
KEY `uid` (`uid`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
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