⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.151
Server IP:
50.6.168.112
Server:
Linux server-617809.webnetzimbabwe.com 5.14.0-570.25.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 9 04:57:09 EDT 2025 x86_64
Server Software:
Apache
PHP Version:
8.4.10
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
ctaacademy
/
public_html
/
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'); } };