| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 29 | public function structure(): string |
||
| 30 | { |
||
| 31 | $max_index_length = 191; |
||
|
|
|||
| 32 | return glsr(Query::class)->sql(" |
||
| 33 | CREATE TABLE {$this->tablename} ( |
||
| 34 | ID bigint(20) unsigned NOT NULL AUTO_INCREMENT, |
||
| 35 | type varchar(20) NOT NULL, |
||
| 36 | data longtext NOT NULL, |
||
| 37 | PRIMARY KEY (ID), |
||
| 38 | KEY type (type) |
||
| 39 | ) ENGINE=InnoDB {$this->db->get_charset_collate()}; |
||
| 40 | "); |
||
| 43 |