| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 2 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 32 | public function install() |
||
| 33 | { |
||
| 34 | // 'pan' is the ID of the current background image/panel |
||
| 35 | $sql = "CREATE TABLE IF NOT EXISTS plugin_card_game( |
||
| 36 | id INT NOT NULL AUTO_INCREMENT, |
||
| 37 | user_id INT NOT NULL, |
||
| 38 | pan int NOT NULL, |
||
| 39 | access_date DATE NOT NULL, |
||
| 40 | parts VARCHAR(500) NOT NULL, |
||
| 41 | PRIMARY KEY (id) |
||
| 42 | )"; |
||
| 43 | Database::query($sql); |
||
| 44 | } |
||
| 52 |