Implement base service file modification through panel

This commit is contained in:
Dane Everitt 2016-11-09 17:58:14 -05:00
parent b8a6a15b08
commit cfd5e0e854
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
19 changed files with 855 additions and 1 deletions

View file

@ -0,0 +1,36 @@
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class AddChecksumsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('checksums', function (Blueprint $table) {
$table->increments('id');
$table->integer('service')->unsigned();
$table->string('filename');
$table->char('checksum', 40);
$table->timestamps();
$table->foreign('service')->references('id')->on('services');
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::drop('checksums');
}
}