2022年7月16日星期六

[laravel] change column type/length/size of sql database (make:migration migrate)

 php artisan make:migration alter_fields_to_notes_table


Schema::table('notes', function (Blueprint $table) {

            //

            $table->string('coverimg', 1000)->nullable()->change();

        });

沒有留言:

發佈留言

[Fixed] some windows chrome, scrolling has glitch position not accurate

   [Fixed] some windows chrome, scrolling has glitch position not accurate Smooth Scrolling Flag 📜 Chrome has an experimental "smooth ...