|
@@ 332-335 (lines=4) @@
|
| 329 |
|
} |
| 330 |
|
|
| 331 |
|
//Do we need to do anything with the tablespaces? |
| 332 |
|
if ($alteredOptions && isset($advancedOptions['tablespace'])) { |
| 333 |
|
$this->createOrReplaceTablespace( |
| 334 |
|
$advancedOptions['tablespace']['name'], |
| 335 |
|
$advancedOptions['tablespace']['location'] |
| 336 |
|
); |
| 337 |
|
$this->query("ALTER TABLE \"$table\" SET TABLESPACE {$advancedOptions['tablespace']['name']};"); |
| 338 |
|
} |
|
@@ 415-418 (lines=4) @@
|
| 412 |
|
} |
| 413 |
|
|
| 414 |
|
//Do we need to create a tablespace for this item? |
| 415 |
|
if ($advancedOptions && isset($advancedOptions['extensions']['tablespace'])) { |
| 416 |
|
$extensions = $advancedOptions['extensions']; |
| 417 |
|
$this->createOrReplaceTablespace($extensions['tablespace']['name'], $extensions['tablespace']['location']); |
| 418 |
|
} |
| 419 |
|
|
| 420 |
|
if ($alteredOptions && isset($this->class) && isset($alteredOptions[$this->class])) { |
| 421 |
|
$this->query(sprintf("ALTER TABLE \"%s\" %s", $table, $alteredOptions[$this->class])); |