private function _addColumnsAfter($tableName, $newColumns, $afterColumnHandle)
 {
     // this is a foreach loop, enough said
     foreach ($newColumns as $columnName => $columnType) {
         // check if the column does NOT exist
         if (!craft()->db->columnExists($tableName, $columnName)) {
             $this->addColumnAfter($tableName, $columnName, array('column' => $columnType, 'null' => false), $afterColumnHandle);
             // log that we created the new column
             SeomaticPlugin::log("Created the `{$columnName}` in the `{$tableName}` table.", LogLevel::Info, true);
         } else {
             // tell craft that we couldn't create the column as it alredy exists.
             SeomaticPlugin::log("Column `{$columnName}` already exists in the `{$tableName}` table.", LogLevel::Info, true);
         }
     }
 }
 public function prepValue($value)
 {
     if (craft()->request->isSiteRequest()) {
         SeomaticPlugin::log("prepValue() called as a site request", LogLevel::Info, true);
     }
     return $value;
 }