src/Schema/SchemaUtility.php
public static function commentTable($table, $comment, $connection = null)
	{
		if (is_null($connection)) {
			$connection = DB::connection();
		}

		if ($connection->getDriverName() === 'sqlite') {
			return;
		}

		$connection->statement(
			sprintf(
				'ALTER TABLE `%s` COMMENT = "%s"', $table, addslashes($comment)
			)
		);
	}
public static function commentTable($table, $comment, $connection = null)
	{
		if (is_null($connection)) {
			$connection = DB::connection();
		}

		if ($connection->getDriverName() === 'sqlite') {
			return;
		}

		$connection->statement(
			sprintf(
				'ALTER TABLE `%s` COMMENT = "%s"', $table, addslashes($comment)
			)
		);
	}
public static function commentTable ( $ table , $ comment , $ connection = null ) { if ( is_null ( $ connection ) ) { $ connection = DB :: connection ( ) ; } if ( $ connection -> getDriverName ( ) === 'sqlite' ) { return ; } $ connection -> statement ( sprintf ( 'ALTER TABLE `%s` COMMENT = "%s"' , $ table , addslashes ( $ comment ) ) ) ; }
Add a comment at the level of a table.

@param string     $table
@param string     $comment
@param Connection $connection
@return void
Add a comment at the level of a table .