Elgg
Version master
|
Public Member Functions | |
change () | |
CREATE TABLE prefix_entities ( guid bigint(20) unsigned NOT NULL AUTO_INCREMENT, type enum('object','user','group','site') NOT NULL, subtype int(11) DEFAULT NULL, owner_guid bigint(20) unsigned NOT NULL, container_guid bigint(20) unsigned NOT NULL, access_id int(11) NOT NULL, time_created int(11) NOT NULL, time_updated int(11) NOT NULL, last_action int(11) NOT NULL DEFAULT '0', enabled enum('yes','no') NOT NULL DEFAULT 'yes', PRIMARY KEY (guid ), KEY type (type ), KEY subtype (subtype ), KEY owner_guid (owner_guid ), KEY container_guid (container_guid ), KEY access_id (access_id ), KEY time_created (time_created ), KEY time_updated (time_updated ) ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4;. More... | |
Definition at line 6 of file 20170728074600_create_entities_table.php.
CreateEntitiesTable::change | ( | ) |
CREATE TABLE prefix_entities
( guid
bigint(20) unsigned NOT NULL AUTO_INCREMENT, type
enum('object','user','group','site') NOT NULL, subtype
int(11) DEFAULT NULL, owner_guid
bigint(20) unsigned NOT NULL, container_guid
bigint(20) unsigned NOT NULL, access_id
int(11) NOT NULL, time_created
int(11) NOT NULL, time_updated
int(11) NOT NULL, last_action
int(11) NOT NULL DEFAULT '0', enabled
enum('yes','no') NOT NULL DEFAULT 'yes', PRIMARY KEY (guid
), KEY type
(type
), KEY subtype
(subtype
), KEY owner_guid
(owner_guid
), KEY container_guid
(container_guid
), KEY access_id
(access_id
), KEY time_created
(time_created
), KEY time_updated
(time_updated
) ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4;.
Definition at line 29 of file 20170728074600_create_entities_table.php.