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
09f5daf1
Commit
09f5daf1
authored
Dec 07, 2009
by
Leigh B. Stoller
Browse files
A Utah only change; version of webnews for protogeni.
parent
cc3d3a36
Changes
2
Hide whitespace changes
Inline
Side-by-side
sql/database-create.sql
View file @
09f5daf1
...
...
@@ -4074,6 +4074,23 @@ CREATE TABLE `webnews` (
KEY
`date`
(
`date`
)
)
ENGINE
=
MyISAM
DEFAULT
CHARSET
=
latin1
;
--
-- Table structure for table `webnews_protogeni`
--
DROP
TABLE
IF
EXISTS
`webnews_protogeni`
;
CREATE
TABLE
`webnews`
(
`msgid`
int
(
11
)
NOT
NULL
auto_increment
,
`subject`
tinytext
,
`date`
datetime
default
NULL
,
`author`
varchar
(
32
)
default
NULL
,
`body`
text
,
`archived`
tinyint
(
1
)
NOT
NULL
default
'0'
,
`archived_date`
datetime
default
NULL
,
PRIMARY
KEY
(
`msgid`
),
KEY
`date`
(
`date`
)
)
ENGINE
=
MyISAM
DEFAULT
CHARSET
=
latin1
;
--
-- Table structure for table `widearea_accounts`
--
...
...
sql/updates/4/187
0 → 100644
View file @
09f5daf1
use strict;
use libdb;
sub DoUpdate($$$)
{
my ($dbhandle, $dbname, $version) = @_;
if (!DBTableExists("webnews_protogeni")) {
DBQueryFatal("CREATE TABLE webnews_protogeni like webnews");
}
return 0;
}
1;
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