chore: change miggration

upload-video
ricky rx 2 years ago
parent d010eaba23
commit 9cb57fcfa1

@ -12,7 +12,8 @@ return new class extends Migration {
Schema::create('video_updates', function (Blueprint $table) { Schema::create('video_updates', function (Blueprint $table) {
$table->id(); $table->id();
$table->string('file_name', 100); $table->string('file_name', 100);
$table->string('url'); $table->string('file');
$table->boolean('is_selected');
$table->timestamps(); $table->timestamps();
}); });
} }

@ -13,7 +13,7 @@ return new class extends Migration
Schema::create('apk_updates', function (Blueprint $table) { Schema::create('apk_updates', function (Blueprint $table) {
$table->id(); $table->id();
$table->string('name', 100); $table->string('name', 100);
$table->string('url'); $table->string('file');
$table->integer('version_code'); $table->integer('version_code');
$table->timestamps(); $table->timestamps();
}); });

Loading…
Cancel
Save