Add migration down for media table

This commit is contained in:
Christopher Charbonneau Wells 2021-04-08 05:59:51 -07:00 committed by GitHub
parent e260d71d6b
commit a1d12cdfdd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 15 additions and 0 deletions

View File

@ -6,6 +6,11 @@ use Illuminate\Database\Migrations\Migration;
class CreateMediaTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('media', function (Blueprint $table) {
@ -29,4 +34,14 @@ class CreateMediaTable extends Migration
$table->nullableTimestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('media');
}
}