Laravel Add a new column to existing table after processing request

 If (!Schema::connection("print-imports")->hasColumn('job_outputs_files', $column_name)) {

                Schema::table('print-imports.job_outputs_files', function (Blueprint $table) use ($column_name){
                    $table->string($column_name);
                });

No comments:

Post a Comment

React -1 ( react with ravenndra kanchi)

 react with tool chanis 45 to 50 sessions core  after 50 sessions -> some tooll chains == react with type script mern stackaplication in ...