Answers for "remove created at in laravel migration"

PHP
0

laravel migration table softdeletes

$ php artisan make:migration add_soft_deletes_to_user_table --table="users"}
Posted by: Guest on September-15-2020
0

laravel migration delete column

Class RemoveCommentViewCount extends Migration
  {
      public function up()
      {
          Schema::table('table', function($table) {
             $table->dropColumn('coulmn_name');
          });
      }

      public function down()
      {
          Schema::table('table', function($table) {
             $table->integer('column_name');
          });
      }
  }
Posted by: Guest on November-16-2021

Code answers related to "remove created at in laravel migration"

Browse Popular Code Answers by Language