mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-10 19:11:07 +03:30
fix trasnfer
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
<?php
|
||||
|
||||
use back\vendor\laravel\framework\src\Illuminate\Support\Facades\Schema;
|
||||
use back\vendor\laravel\framework\src\Illuminate\Database\Schema\Blueprint;
|
||||
use back\vendor\laravel\framework\src\Illuminate\Database\Migrations\Migration;
|
||||
|
||||
class AddUserTransferIdToTransfersTable extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::table('transfers', function (Blueprint $table) {
|
||||
$table->unsignedBigInteger('user_transfer_id')->nullable();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::table('transfers', function (Blueprint $table) {
|
||||
$table->dropColumn('user_transfer_id');
|
||||
});
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user