string('pbx_sync_status')->default('pending')->after('sip_credentials_enabled') ->comment('pending|synced|failed|syncing'); $table->timestamp('pbx_last_synced_at')->nullable()->after('pbx_sync_status'); $table->text('pbx_sync_error')->nullable()->after('pbx_last_synced_at'); $table->integer('pbx_sync_attempts')->default(0)->after('pbx_sync_error'); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::table('user_extensions', function (Blueprint $table) { $table->dropColumn([ 'pbx_sync_status', 'pbx_last_synced_at', 'pbx_sync_error', 'pbx_sync_attempts' ]); }); } }