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
6294daba
Commit
6294daba
authored
Apr 04, 2003
by
Chad Barb
Browse files
Instructions for adding 'webnews' table.
parent
26bfd900
Changes
1
Hide whitespace changes
Inline
Side-by-side
sql/database-migrate.txt
View file @
6294daba
...
...
@@ -117,3 +117,16 @@ last_net_act,last_cpu_act,last_ext_act);
update images set gid=pid,global=shared;
update images set shared=0;
1.121: Create empty 'webnews' table with following schema for
$TBSRC/www/news.php3 ('blog-like news posting system):
('date' is keyed since 'ORDER BY date DESC' is used a lot.)
CREATE TABLE webnews (
msgid int(11) NOT NULL auto_increment,
subject tinytext,
date datetime default NULL,
author varchar(32) default NULL,
body text,
PRIMARY KEY (msgid),
KEY date (date)
) TYPE=MyISAM;
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