I just pulled a full october cms installation from a repo and I’m trying to preform migration but it keeps giving me this error. How can I resolve it, in the PHP my admin the field isn’t there, I have tried to create it manually then it complains that the column already exists. Im at a complete loss here, the installation worked fine before the submission to git. On the submit we added absolutely everything besides the MySQL database.
<?php namespace Cunami\PhoneCatalog\Updates;
use Schema;
use October\Rain\Database\Updates\Migration;
class BuilderTableUpdateCunamiPhonecatalog8 extends Migration
{
public function up()
{
Schema::table('cunami_phonecatalog_', function($table)
{
$table->integer('index_id')->unsigned();
$table->integer('number_id')->nullable()->unsigned()->default(null)->comment(null)->change();
});
}
public function down()
{
Schema::table('cunami_phonecatalog_', function($table)
{
$table->dropColumn('index_id');
$table->bigInteger('number_id')->nullable()->unsigned(false)->default(null)->comment(null)->change();
});
}
}
I tried to add it in that file but it is still showing the same error. That it cannot be found on the same PHP file.
- v1.0.26: Migration "builder_table_update_cunami_phonecatalog__8.php" failed
In ColumnDoesNotExist.php line 16:
There is no column with name "number_id" on table "cunami_phonecatalog_".