Fix DB\Sqlite
This commit is contained in:
parent
7e04d6acc2
commit
91f192e52d
1 changed files with 2 additions and 2 deletions
|
@ -201,7 +201,7 @@ class Sqlite
|
|||
*/
|
||||
public function fieldExists(string $table, string $field): bool
|
||||
{
|
||||
$table = $this->tName($table),
|
||||
$table = $this->tName($table);
|
||||
$stmt = $this->db->query("PRAGMA table_info({$table})");
|
||||
|
||||
while ($row = $stmt->fetch()) {
|
||||
|
@ -303,7 +303,7 @@ class Sqlite
|
|||
}
|
||||
|
||||
/**
|
||||
* Добавляет поле в таблицу // ???? нет COLLATE
|
||||
* Добавляет поле в таблицу
|
||||
*/
|
||||
public function addField(string $table, string $field, string $type, bool $allowNull, /* mixed */ $default = null, string $collate = null, string $after = null): bool
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue