HEX
Server: Apache
System: Linux server1.ariadata.co 4.18.0-553.120.1.el8_10.x86_64 #1 SMP Mon Apr 20 18:04:27 EDT 2026 x86_64
User: nepi (1051)
PHP: 7.4.33
Disabled: exec,passthru,shell_exec,system,show_source,popen,proc_open
Upload Files
File: /home/nepi/file.nepi.ir/database/migrations/2015_04_18_134312_create_folders_table.php
<?php

use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateFoldersTable extends Migration {

	/**
	 * Run the migrations.
	 *
	 * @return void
	 */
	public function up()
	{
		Schema::create('folders', function(Blueprint $table)
		{
			$table->increments('id');
            $table->string('name');
            $table->string('description', 150)->nullable();
            $table->text('path')->nullable();
            $table->integer('user_id')->nullable();
            $table->integer('folder_id')->nullable();
            $table->string('share_id', 20)->unique;
            $table->string('password')->nullable();
			$table->timestamps();
			$table->softDeletes();

            $table->index('user_id');
            $table->index('share_id');
            $table->index('folder_id');
		});
	}

	/**
	 * Reverse the migrations.
	 *
	 * @return void
	 */
	public function down()
	{
		Schema::drop('folders');
	}

}