Elgg
Version master
|
Public Member Functions | |
change () | |
CREATE TABLE prefix_entity_subtypes ( id int(11) NOT NULL AUTO_INCREMENT, type enum('object','user','group','site') NOT NULL, subtype varchar(50) NOT NULL, class varchar(255) NOT NULL DEFAULT '', PRIMARY KEY (id ), UNIQUE KEY type (type ,subtype ) ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4;. More... | |
Definition at line 5 of file 20170728074729_create_entity_subtypes_table.php.
CreateEntitySubtypesTable::change | ( | ) |
CREATE TABLE prefix_entity_subtypes
( id
int(11) NOT NULL AUTO_INCREMENT, type
enum('object','user','group','site') NOT NULL, subtype
varchar(50) NOT NULL, class
varchar(255) NOT NULL DEFAULT '', PRIMARY KEY (id
), UNIQUE KEY type
(type
,subtype
) ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4;.
INSERT INTO prefix_entity_subtypes
(type, subtype, class) VALUES ('object', 'plugin', 'ElggPlugin'), ('object', 'file', 'ElggFile'), ('object', 'widget', 'ElggWidget'), ('object', 'comment', 'ElggComment'), ('object', 'elgg_upgrade', 'ElggUpgrade'), ('object', 'admin_notice', '');
Definition at line 25 of file 20170728074729_create_entity_subtypes_table.php.