Elgg  Version 3.0
Public Member Functions | List of all members
CreateEntitySubtypesTable Class Reference
Inheritance diagram for CreateEntitySubtypesTable:

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...
 

Detailed Description

Definition at line 6 of file 20170728074729_create_entity_subtypes_table.php.

Member Function Documentation

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 26 of file 20170728074729_create_entity_subtypes_table.php.


The documentation for this class was generated from the following file: