Difference between revisions of "Database Table: priv packages"

From Dreamwidth Notes
Jump to: navigation, search
m (Robot: This table needs a description.)
(Robot: Updating: Format, needs desc, definition)
Line 1: Line 1:
{{Database Table|name=priv_packages|table type=global}}
+
{{Database Table|name=priv_packages|table type=global|need desc=1}}
[[Category:Database Tables Needing Description]]
+
 
= Definition =
 
= Definition =
 
 
<source lang="sql">
 
<source lang="sql">
 
CREATE TABLE priv_packages (
 
CREATE TABLE priv_packages (
  pkgid int(10) unsigned NOT NULL auto_increment,
+
    pkgid int(10) unsigned NOT NULL auto_increment,
  name varchar(255) NOT NULL default '',
+
    name varchar(255) NOT NULL default '',
  lastmoduserid int(10) unsigned NOT NULL default 0,
+
    lastmoduserid int(10) unsigned NOT NULL default 0,
  lastmodtime int(10) unsigned NOT NULL default 0,
+
    lastmodtime int(10) unsigned NOT NULL default 0,
  PRIMARY KEY (pkgid),
+
 
  UNIQUE KEY (name)
+
    PRIMARY KEY (pkgid),
 +
    UNIQUE KEY (name)
 
)
 
)
 
</source>
 
</source>
 
 
{{Database Table Footer}}
 
{{Database Table Footer}}

Revision as of 07:03, 28 January 2010

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

Definition

CREATE TABLE priv_packages (
    pkgid INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
    name VARCHAR(255) NOT NULL DEFAULT '',
    lastmoduserid INT(10) UNSIGNED NOT NULL DEFAULT 0,
    lastmodtime INT(10) UNSIGNED NOT NULL DEFAULT 0,
 
    PRIMARY KEY (pkgid),
    UNIQUE KEY (name)
)

Relationships