getTable('mail_accounts'); if (!$accountsTable->hasColumn('debug')) { $accountsTable->addColumn('debug', Types::BOOLEAN, [ 'notnull' => false, 'default' => false, ]); } return $schema; } }