-Fix modifiers in orders
This commit is contained in:
miroman-afk
2022-01-27 13:29:12 +03:00
parent 284d2bcb60
commit fb3a28e74e
9 changed files with 260 additions and 65 deletions

View File

@@ -0,0 +1,34 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateActionTypesTable extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up() {
if (!Schema::hasTable('action_types')) {
Schema::create('action_types', function (Blueprint $table) {
$table->id();
$table->string('name', 255)->nullable();
$table->integer('type_id')->nullable();
$table->timestamps();
});
}
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down() {
Schema::table('action_types', function (Blueprint $table) {
//
});
}
}