fix typo on params on Schema->createTable()
This commit is contained in:
		@@ -119,14 +119,13 @@ class Schema
 | 
				
			|||||||
    /**
 | 
					    /**
 | 
				
			||||||
     * Creates a table with the given names and columns.
 | 
					     * Creates a table with the given names and columns.
 | 
				
			||||||
     *
 | 
					     *
 | 
				
			||||||
     * @param string $name    Name of the table
 | 
					     * @param string $tableName    Name of the table
 | 
				
			||||||
     * @param array  $columns Array of ColumnDef objects
 | 
					     * @param array  $def          Table definition array listing fields and indexes.
 | 
				
			||||||
     *                        for new table.
 | 
					 | 
				
			||||||
     *
 | 
					     *
 | 
				
			||||||
     * @return boolean success flag
 | 
					     * @return boolean success flag
 | 
				
			||||||
     */
 | 
					     */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    public function createTable($name, $columns)
 | 
					    public function createTable($tableName, $def)
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
        $statements = $this->buildCreateTable($tableName, $def);
 | 
					        $statements = $this->buildCreateTable($tableName, $def);
 | 
				
			||||||
        return $this->runSqlSet($statements);
 | 
					        return $this->runSqlSet($statements);
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user