Difference between revisions of "Database Table: import items"

From Dreamwidth Notes
Jump to: navigation, search
(Created page with '{{Database Table|name=import_items|table type=global}} Category:Database Tables Needing Description = Definition = <source lang="sql"> CREATE TABLE import_items ( userid …')
 
(Robot: Updating: Format)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{Database Table|name=import_items|table type=global}}
+
{{Database Table|name=import_items|table type=global|need desc=1|repo=dw-free}}
[[Category:Database Tables Needing Description]]
+
 
= Definition =
 
= Definition =
 
<source lang="sql">
 
<source lang="sql">

Latest revision as of 15:56, 22 July 2010

This is a global table.

Definition

CREATE TABLE import_items (
    userid INT UNSIGNED NOT NULL,
    item VARCHAR(255) NOT NULL,
    STATUS ENUM('init', 'ready', 'queued', 'failed', 'succeeded', 'aborted') NOT NULL DEFAULT 'init',
    created INT UNSIGNED NOT NULL,
    last_touch INT UNSIGNED NOT NULL,
    import_data_id INT UNSIGNED NOT NULL,
    priority INT UNSIGNED NOT NULL,
 
    PRIMARY KEY (userid, item, import_data_id),
    INDEX (priority, STATUS)
)

Relationships