implemented conference hotlists and SIG list management from the Top page;
cleaned up remaining SQL statements using text columns instead of column indexes with the ResultSet; fleshed out specifics in the TODO for SIG administration
This commit is contained in:
@@ -306,7 +306,8 @@ CREATE TABLE confhotlist (
|
||||
sequence SMALLINT NOT NULL,
|
||||
sigid INT NOT NULL,
|
||||
confid INT NOT NULL,
|
||||
PRIMARY KEY (uid, sequence)
|
||||
PRIMARY KEY (uid, sigid, confid),
|
||||
INDEX inorder (uid, sequence)
|
||||
);
|
||||
|
||||
# The "bozo filter" list for a conference, for use by users in filtering out
|
||||
@@ -1368,7 +1369,7 @@ INSERT INTO confs (confid, createdate, read_lvl, post_lvl, create_lvl, hide_lvl,
|
||||
delete_lvl, top_topic, name, descr)
|
||||
VALUES (1, '2000-12-01 00:00:00', 63000, 63000, 63000, 63000, 64999, 64999, 65500, 0,
|
||||
'Administrative Notes', 'Used to store notes and discussions between the site administrators.');
|
||||
INSERT INTO sigtoconf (sigid, confid, sequence) VALUES (1, 1, 100);
|
||||
INSERT INTO sigtoconf (sigid, confid, sequence) VALUES (1, 1, 10);
|
||||
INSERT INTO confalias (confid, alias) VALUES (1, 'Admin_Notes');
|
||||
|
||||
# Make the Administrator the host-of-record of the "Administrative Notes" conference.
|
||||
@@ -1405,7 +1406,7 @@ INSERT INTO confs (confid, createdate, read_lvl, post_lvl, create_lvl, hide_lvl,
|
||||
delete_lvl, top_topic, name, descr)
|
||||
VALUES (2, '2000-12-01 00:00:00', 6500, 6500, 6500, 52500, 52500, 52500, 58000, 0, 'General Discussion',
|
||||
'Your place for general discussion about the system and general topics.');
|
||||
INSERT INTO sigtoconf (sigid, confid, sequence) VALUES (2, 2, 100);
|
||||
INSERT INTO sigtoconf (sigid, confid, sequence) VALUES (2, 2, 10);
|
||||
INSERT INTO confalias (confid, alias) VALUES (2, 'General');
|
||||
|
||||
# Make the Administrator the host-of-record of the "General Discussion" conference.
|
||||
@@ -1417,7 +1418,7 @@ INSERT INTO confs (confid, createdate, read_lvl, post_lvl, create_lvl, hide_lvl,
|
||||
delete_lvl, top_topic, name, descr)
|
||||
VALUES (3, '2000-12-01 00:00:00', 6500, 6500, 6500, 52500, 52500, 52500, 58000, 0, 'Test Postings',
|
||||
'Use this conference to test the conferencing system.');
|
||||
INSERT INTO sigtoconf (sigid, confid, sequence) VALUES (2, 3, 200);
|
||||
INSERT INTO sigtoconf (sigid, confid, sequence) VALUES (2, 3, 20);
|
||||
INSERT INTO confalias (confid, alias) VALUES (3, 'Test');
|
||||
|
||||
# Make the Administrator the host-of-record of the "Test Postings" conference.
|
||||
|
||||
Reference in New Issue
Block a user