fixed migration

This commit is contained in:
Luca Haid
2025-10-24 07:32:59 +00:00
parent b03c8c4c70
commit e569d4fa13

View File

@@ -6,9 +6,9 @@ use Phinx\Migration\AbstractMigration;
final class PreorderAddFiles extends AbstractMigration {
public function up(): void {
if($this->getEnvironment() == "thetool") {
$Preorder = $this->table("Preorder");
$Preorder->addColumn("files", "text", ['null' => true, 'after' => 'note']);s
$Preorder->update();
$table = $this->table("Preorder");
$table->addColumn("files", "text", ['null' => true, 'after' => 'note']);s
$table->update();
}
}