improve / fix postgres support.
This commit is contained in:
@@ -136,7 +136,9 @@ class Table {
|
||||
// the index that can be used when dropping indexes.
|
||||
if (is_null($name))
|
||||
{
|
||||
$name = $this->name.'_'.implode('_', $columns).'_'.$type;
|
||||
$name = str_replace(array('-', '.'), '_', $this->name);
|
||||
|
||||
$name = $name.'_'.implode('_', $columns).'_'.$type;
|
||||
}
|
||||
|
||||
return $this->command($type, compact('name', 'columns'));
|
||||
|
||||
Reference in New Issue
Block a user