Difference between revisions of "Database Table: content filters"

From Dreamwidth Notes
Jump to: navigation, search
(Robot: Updating: Format, needs desc)
Line 1: Line 1:
{{Database Table|name=content_filters|table type=clustered}}
+
{{Database Table|name=content_filters|table type=clustered|need desc=1}}
[[Category:Database Tables Needing Description]]
+
 
= Definition =
 
= Definition =
 
 
<source lang="sql">
 
<source lang="sql">
 
CREATE TABLE content_filters (
 
CREATE TABLE content_filters (

Revision as of 07:07, 28 January 2010

"{{{repo}}}" is not in the list of possible values (dw-free, dw-nonfree) for this property. This is a clustered table.

Definition

CREATE TABLE content_filters (
  userid INT(10) UNSIGNED NOT NULL,
  filterid INT(10) UNSIGNED NOT NULL,
  filtername VARCHAR(255) NOT NULL,
  is_public enum('0','1') NOT NULL DEFAULT '0',
  sortorder SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
 
  PRIMARY KEY (userid,filterid),
  UNIQUE KEY userid (userid,filtername)
)

Relationships