feat: video_update with file_size information
parent
cbbe612658
commit
e2e6c2b6f8
@ -0,0 +1,26 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*/
|
||||
public function up(): void {
|
||||
Schema::table('video_updates', function(Blueprint $table) {
|
||||
$table->double('file_size_kb')->default(0);
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void {
|
||||
Schema::table('video_updates', function(Blueprint $table) {
|
||||
$table->dropColumn('file_size_kb');
|
||||
});
|
||||
}
|
||||
};
|
||||
Loading…
Reference in New Issue