- admin client order

This commit is contained in:
Peter Papp
2021-03-22 10:43:37 +01:00
parent 80b24cd753
commit 3c01ce5ad3
10 changed files with 1022 additions and 252 deletions

View File

@@ -0,0 +1,35 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddItemsToUserSettingsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('user_settings', function (Blueprint $table) {
$table->boolean('payment_activation')->after('storage_capacity')->default(0);
$table->string('ico')->after('phone_number')->nullable();
$table->string('requested_plan')->nullable();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('user_settings', function (Blueprint $table) {
$table->dropColumn('ico');
});
}
}