fixed migration
This commit is contained in:
@@ -6,9 +6,9 @@ use Phinx\Migration\AbstractMigration;
|
|||||||
final class PreorderAddFiles extends AbstractMigration {
|
final class PreorderAddFiles extends AbstractMigration {
|
||||||
public function up(): void {
|
public function up(): void {
|
||||||
if($this->getEnvironment() == "thetool") {
|
if($this->getEnvironment() == "thetool") {
|
||||||
$Preorder = $this->table("Preorder");
|
$table = $this->table("Preorder");
|
||||||
$Preorder->addColumn("files", "text", ['null' => true, 'after' => 'note']);s
|
$table->addColumn("files", "text", ['null' => true, 'after' => 'note']);s
|
||||||
$Preorder->update();
|
$table->update();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user