string('key'); $table->text('value')->nullable(); }); $version = config('author.app_version'); DB::table('system')->insert( ['key' => 'db_version', 'value' => $version] ); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('system'); } };