fixed migration
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user