mirror of
				https://github.com/crater-invoice/crater.git
				synced 2025-10-30 21:21:09 -04:00 
			
		
		
		
	v6 update
This commit is contained in:
		| @ -0,0 +1,35 @@ | ||||
| <?php | ||||
|  | ||||
| use Illuminate\Database\Migrations\Migration; | ||||
| use Illuminate\Database\Schema\Blueprint; | ||||
| use Illuminate\Support\Facades\Schema; | ||||
|  | ||||
| class CreateModulesTable extends Migration | ||||
| { | ||||
|     /** | ||||
|      * Run the migrations. | ||||
|      * | ||||
|      * @return void | ||||
|      */ | ||||
|     public function up() | ||||
|     { | ||||
|         Schema::create('modules', function (Blueprint $table) { | ||||
|             $table->id(); | ||||
|             $table->string('name'); | ||||
|             $table->string('version'); | ||||
|             $table->boolean('installed')->default(false); | ||||
|             $table->boolean('enabled')->default(false); | ||||
|             $table->timestamps(); | ||||
|         }); | ||||
|     } | ||||
|  | ||||
|     /** | ||||
|      * Reverse the migrations. | ||||
|      * | ||||
|      * @return void | ||||
|      */ | ||||
|     public function down() | ||||
|     { | ||||
|         Schema::dropIfExists('modules'); | ||||
|     } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user