changed dependencies

This commit is contained in:
chrosey
2017-06-11 22:17:12 +02:00
parent 5e8d1898bc
commit 46e092f04f
6 changed files with 92 additions and 2 deletions
@@ -0,0 +1,26 @@
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateArbeitszeitsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
}
}
@@ -0,0 +1,32 @@
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class VeranstaltungTableAddEnde extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('veranstaltungen', function (Blueprint $table) {
$table->dateTime('ende')->nullable();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('veranstaltungen', function (Blueprint $table) {
$table->dropColumn('ende');
});
}
}