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_block.mssql.sql 874B

123456789101112131415161718192021
  1. -- Microsoft SQL Server (MSSQL) variant of Comments' database schema
  2. -- This is probably crazy, but so is MSSQL. I've never used MSSQL so
  3. -- there's a fair chance that the code is full of bugs, stupid things or both.
  4. -- Please feel free to submit patches or just go ahead and fix it.
  5. --
  6. -- Tested at SQLFiddle.com against MS SQL Server 2008 & 2012 and at least this
  7. -- builds. Doesn't guarantee anything, though.
  8. --
  9. -- Author: Jack Phoenix
  10. -- Date: 24 July 2013
  11. CREATE TABLE /*$wgDBprefix*/Comments_block (
  12. cb_id INT NOT NULL PRIMARY KEY IDENTITY(0,1),
  13. cb_user_id INT NOT NULL default 0,
  14. cb_user_name NVARCHAR(255) NOT NULL default '',
  15. cb_user_id_blocked INT default NULL,
  16. cb_user_name_blocked NVARCHAR(255) NOT NULL default '',
  17. cb_date DATETIME default NULL
  18. ) /*$wgDBTableOptions*/;
  19. CREATE INDEX /*i*/cb_user_id ON /*$wgDBprefix*/Comments_block (cb_user_id);