Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emulab-stable
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
emulab
emulab-stable
Commits
dd528c1a
Commit
dd528c1a
authored
Jan 22, 2015
by
Leigh Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add remote_urn slot to apt_datasets table.
parent
b1628c28
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
0 deletions
+23
-0
sql/database-create.sql
sql/database-create.sql
+1
-0
sql/updates/4/424
sql/updates/4/424
+22
-0
No files found.
sql/database-create.sql
View file @
dd528c1a
...
...
@@ -68,6 +68,7 @@ CREATE TABLE `apt_datasets` (
`creator_uid`
varchar
(
8
)
NOT
NULL
default
''
,
`creator_idx`
mediumint
(
8
)
unsigned
NOT
NULL
default
'0'
,
`aggregate_urn`
varchar
(
128
)
default
NULL
,
`remote_urn`
varchar
(
128
)
NOT
NULL
default
''
,
`remote_uuid`
varchar
(
40
)
NOT
NULL
default
''
,
`created`
datetime
default
NULL
,
`expires`
datetime
default
NULL
,
...
...
sql/updates/4/424
0 → 100644
View file @
dd528c1a
#
# APT Dataset stuff
#
use strict;
use libdb;
sub DoUpdate($$$)
{
my ($dbhandle, $dbname, $version) = @_;
if (!DBSlotExists("apt_datasets", "remote_urn")) {
DBQueryFatal("alter table apt_datasets add ".
" `remote_urn` varchar(128) NOT NULL default '' ".
" after aggregate_urn");
}
return 0;
}
1;
# 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