Skip to content

Commit

Permalink
updates to fix typo, add comment_log table
Browse files Browse the repository at this point in the history
  • Loading branch information
tvroom committed Dec 6, 2006
1 parent 15644ae commit 459e432
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
16 changes: 16 additions & 0 deletions sql/mysql/slashschema_create.sql
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,22 @@ CREATE TABLE comments (
KEY date_sid (date,sid)
) TYPE=InnoDB;

#
# Table structure for table 'comment_log'
#

DROP TABLE IF EXISTS comment_log;

CREATE TABLE comment_log (
id int UNSIGNED NOT NULL auto_increment,
cid int UNSIGNED NOT NULL,
logtext varchar(255) DEFAULT '' NOT NULL,
ts datetime DEFAULT '1970-01-01 00:00:00' NOT NULL,
INDEX ts (ts),
PRIMARY KEY (id)
) TYPE=InnoDB;


#
# Table structure for table 'comment_text'
#
Expand Down
12 changes: 11 additions & 1 deletion sql/mysql/upgrades
Original file line number Diff line number Diff line change
Expand Up @@ -4262,10 +4262,20 @@ UPDATE vars SET value = 'T_2_5_0_136' WHERE name = 'cvs_tag_currentcode';
# SLASHDOT LAST UPDATED HERE

# For FireHose Plugn
UPDATES vars SET VALUE='red|orange|yellow|green|blue|indigo|violet' where name='firehose_color_labels';
UPDATE vars SET value='red|orange|yellow|green|blue|indigo|violet' where name='firehose_color_labels';


# for DST change in 2007
REPLACE INTO dst (region, selectable, start_hour, start_wnum, start_wday, start_month, end_hour, end_wnum, end_wday, end_month) VALUES ('America', 1, 2, 2, 0, 2, 2, 1, 0, 10);

ALTER TABLE sessions ADD last_fhid mediumint UNSIGNED;

CREATE TABLE comment_log (
id int UNSIGNED NOT NULL auto_increment,
cid int UNSIGNED NOT NULL,
logtext varchar(255) DEFAULT '' NOT NULL,
ts datetime DEFAULT '1970-01-01 00:00:00' NOT NULL,
INDEX ts (ts),
PRIMARY KEY (id)
) TYPE=InnoDB;

0 comments on commit 459e432

Please sign in to comment.