Restore shifts
This commit is contained in:
miroman-afk
2022-01-10 14:42:35 +03:00
parent 0209970fe1
commit cf1e228f26
5 changed files with 81 additions and 3 deletions

View File

@@ -0,0 +1,34 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateTableSubscribers extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up() {
Schema::create('subscribers', function (Blueprint $table) {
$table->id();
$table->string('code')->nullable();
$table->string('destination_module')->nullable();
$table->string('destination_method')->nullable();
$table->string('source_module')->nullable();
$table->string('source_method')->nullable();
$table->integer('weight')->nullable();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down() {
Schema::dropIfExists('subscribers');
}
}