Grammar/Vocabulary fixes

Signed-off-by: Chris Berthe <chrisberthe@gmail.com>
This commit is contained in:
Chris Berthe
2012-06-13 11:19:20 -04:00
parent d9802fe656
commit fafaf724b0
54 changed files with 130 additions and 130 deletions

View File

@@ -29,7 +29,7 @@ class SQLite extends Grammar {
return $value->type == 'primary';
});
// If we found primary key in the array of commands, we'll create the SQL for
// If we found primary keys in the array of commands, we'll create the SQL for
// the key addition and append it to the SQL table creation statement for
// the schema table so the index is properly generated.
if ( ! is_null($primary))
@@ -43,7 +43,7 @@ class SQLite extends Grammar {
}
/**
* Geenrate the SQL statements for a table modification command.
* Generate the SQL statements for a table modification command.
*
* @param Table $table
* @param Fluent $command
@@ -53,7 +53,7 @@ class SQLite extends Grammar {
{
$columns = $this->columns($table);
// Once we the array of column definitions, we need to add "add" to the
// Once we have the array of column definitions, we need to add "add" to the
// front of each definition, then we'll concatenate the definitions
// using commas like normal and generate the SQL.
$columns = array_map(function($column)
@@ -87,7 +87,7 @@ class SQLite extends Grammar {
{
// Each of the data type's have their own definition creation method
// which is responsible for creating the SQL for the type. This lets
// us to keep the syntax easy and fluent, while translating the
// us keep the syntax easy and fluent, while translating the
// types to the types used by the database.
$sql = $this->wrap($column).' '.$this->type($column);
@@ -214,7 +214,7 @@ class SQLite extends Grammar {
}
/**
* Generate the SQL statement for a drop unqique key command.
* Generate the SQL statement for a drop unique key command.
*
* @param Table $table
* @param Fluent $command
@@ -226,7 +226,7 @@ class SQLite extends Grammar {
}
/**
* Generate the SQL statement for a drop unqique key command.
* Generate the SQL statement for a drop unique key command.
*
* @param Table $table
* @param Fluent $command