mirror of https://github.com/kcal-app/kcal.git
Add migration down for media table
This commit is contained in:
parent
e260d71d6b
commit
a1d12cdfdd
|
@ -6,6 +6,11 @@ use Illuminate\Database\Migrations\Migration;
|
||||||
|
|
||||||
class CreateMediaTable extends Migration
|
class CreateMediaTable extends Migration
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* Run the migrations.
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
public function up()
|
public function up()
|
||||||
{
|
{
|
||||||
Schema::create('media', function (Blueprint $table) {
|
Schema::create('media', function (Blueprint $table) {
|
||||||
|
@ -29,4 +34,14 @@ class CreateMediaTable extends Migration
|
||||||
$table->nullableTimestamps();
|
$table->nullableTimestamps();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Reverse the migrations.
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function down()
|
||||||
|
{
|
||||||
|
Schema::dropIfExists('media');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue