Example:
$tableDefinition = "age INT(11) NOT NULL AUTO_INCREMENT,
name VARCHAR(255) NOT NULL";
DbHelper::createTable('tablename', $tableDefinition);
public static createTable ( string $nameWithoutPrefix, string $createDefinition ) | ||
$nameWithoutPrefix | string | The name of the table without any piwik prefix. |
$createDefinition | string | The table create definition |