Difference between revisions of "Database Table: authactions"

From Dreamwidth Notes
Jump to: navigation, search
m (Robot: Converting database table to use semantic mediawiki form.)
(Robot: Updating: Format)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#set:name=authactions|table type=global}}
+
{{Database Table|name=authactions|table type=global|need desc=1|repo=dw-free}}
 
= Definition =
 
= Definition =
 
 
<source lang="sql">
 
<source lang="sql">
 
CREATE TABLE authactions (
 
CREATE TABLE authactions (
  aaid int(10) unsigned NOT NULL auto_increment,
+
    aaid int(10) unsigned NOT NULL auto_increment,
  userid int(10) unsigned NOT NULL default '0',
+
    userid int(10) unsigned NOT NULL default '0',
  datecreate datetime NOT NULL default '0000-00-00 00:00:00',
+
    datecreate datetime NOT NULL default '0000-00-00 00:00:00',
  authcode varchar(20) default NULL,
+
    authcode varchar(20) default NULL,
  action varchar(50) default NULL,
+
    action varchar(50) default NULL,
  arg1 varchar(255) default NULL,
+
    arg1 varchar(255) default NULL,
  PRIMARY KEY  (aaid)
+
 
 +
    PRIMARY KEY  (aaid)
 
)
 
)
 
</source>
 
</source>
 
 
{{Database Table Footer}}
 
{{Database Table Footer}}

Latest revision as of 16:00, 22 July 2010

This is a global table.

Definition

CREATE TABLE authactions (
    aaid INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
    userid INT(10) UNSIGNED NOT NULL DEFAULT '0',
    datecreate datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
    authcode VARCHAR(20) DEFAULT NULL,
    action VARCHAR(50) DEFAULT NULL,
    arg1 VARCHAR(255) DEFAULT NULL,
 
    PRIMARY KEY  (aaid)
)

Relationships

Outgoing

  • Foreign key: userid to user.userid