Original: https://www.mediawiki.org/wiki/Extension:Comments Das hier ist eine an https://znil.net angepasste Version.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

comments_vote.sql 715B

1234567891011121314
  1. -- MySQL/SQLite schema for the Comments extension
  2. CREATE TABLE /*_*/Comments_Vote (
  3. Comment_Vote_ID int(11) NOT NULL default 0,
  4. Comment_Vote_user_id int(11) NOT NULL default 0,
  5. Comment_Vote_Username varchar(200) NOT NULL default '',
  6. Comment_Vote_Score int(4) NOT NULL default 0,
  7. Comment_Vote_Date datetime NOT NULL default '0000-00-00 00:00:00',
  8. Comment_Vote_IP varchar(45) NOT NULL default ''
  9. ) /*$wgDBTableOptions*/;
  10. CREATE UNIQUE INDEX /*i*/Comments_Vote_user_id_index ON /*_*/Comments_Vote (Comment_Vote_ID,Comment_Vote_Username);
  11. CREATE INDEX /*i*/Comment_Vote_Score ON /*_*/Comments_Vote (Comment_Vote_Score);
  12. CREATE INDEX /*i*/Comment_Vote_user_id ON /*_*/Comments_Vote (Comment_Vote_user_id);