diff --git a/app/Library/Timer/TimerHelper.php b/app/Library/Timer/TimerHelper.php new file mode 100644 index 0000000..586d42b --- /dev/null +++ b/app/Library/Timer/TimerHelper.php @@ -0,0 +1,22 @@ +bigIncrements('id'); - $table->timestamps(); - }); + if(!Schema::hasTable('timers')) { + Schema::create('timers', function (Blueprint $table) { + $table->bigIncrements('id'); + $table->string('type'); + $table->string('stage'); + $table->string('region'); + $table->string('sytem'); + $table->string('planet'); + $table->string('moon'); + $table->string('owner'); + $table->unsignedInteger('owner_id'); + $table->dateTime('eveTime'); + $table->text('notes'); + $table->unsignedInteger('character_id'); + $table->timestamps(); + }); + } } /**