⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.144
Server IP:
157.245.143.252
Server:
Linux www 6.11.0-9-generic #9-Ubuntu SMP PREEMPT_DYNAMIC Mon Oct 14 13:19:59 UTC 2024 x86_64
Server Software:
nginx/1.26.0
PHP Version:
8.3.11
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
var
/
www
/
audiostanding.com
/
database
/
migrations
/
View File Name :
2024_04_18_070749_create_courses_table.php
id(); $table->foreignId('instructor_id'); $table->foreignId('category_id')->nullable(); $table->enum('type', ['course', 'webinar'])->default('course'); $table->string('title'); $table->string('slug'); $table->string('seo_description')->nullable(); $table->date('start_date')->nullable(); $table->integer('duration')->nullable(); $table->string('timezone')->nullable(); $table->string('thumbnail')->nullable(); $table->enum('demo_video_storage', ['upload', 'youtube', 'vimeo', 'external_link', 'aws'])->default('upload'); $table->text('demo_video_source')->nullable(); $table->text('description')->nullable(); $table->integer('capacity')->nullable(); $table->double('price')->default(0); $table->double('discount')->nullable(); $table->boolean('certificate')->default(0); $table->boolean('downloadable')->default(0); $table->boolean('partner_instructor')->default(0); $table->boolean('qna')->default(0); $table->text('message_for_reviewer')->nullable(); $table->enum('status', ['active', 'is_draft', 'inactive'])->default('is_draft'); $table->enum('is_approved', ['pending', 'approved', 'rejected'])->default('pending'); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('courses'); } };