File: /home/imensosw/.trash/database.2/migrations/2022_02_24_000002_alter_users_table.php
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AlterUsersTable extends Migration
{
public function up()
{
Schema::table('users', function($table) {
$table->string('org_name')->nullable()->after('email');
$table->string('slug')->nullable()->after('org_name');
$table->string('org_type')->nullable()->after('org_name');
$table->string('address_line1')->nullable()->after('org_type');
$table->string('address_state')->nullable()->after('address_line1');
$table->string('address_city')->nullable()->after('address_state');
$table->string('address_postcode')->nullable()->after('address_city');
$table->string('address_country')->nullable()->after('address_postcode');
$table->text('address_location')->nullable()->after('address_country');
$table->string('address_lat')->nullable()->after('address_location');
$table->string('address_long')->nullable()->after('address_lat');
$table->string('org_contact')->nullable()->after('address_long');
$table->string('org_email')->nullable()->after('org_contact');
$table->string('org_logo')->nullable()->after('org_email');
$table->longText('org_desc')->nullable()->after('org_logo');
$table->string('org_facebook_links')->nullable()->after('org_desc');
$table->string('org_linkdin_links')->nullable()->after('org_facebook_links');
$table->string('org_youtube_links')->nullable()->after('org_linkdin_links');
$table->string('org_twitter_links')->nullable()->after('org_youtube_links');
$table->integer('user_status')->nullable()->default(0)->after('email_verified_at');
$table->timestamp('approved_at')->nullable()->after('email_verified_at');
});
}
}