vvvsvsdgdsrytvvfPKB\n .DS_Storenu[Bud1  orieslg factorieslg1Scomp] factoriesmoDDblobiA factoriesmodDblobiA factoriesph1Scomp migrationslg1Scomp\ migrationsmoDDblobXA migrationsmodDblobXA migrationsph1Scompseederslg1ScompseedersmoDDblobiAseedersmodDblobiAseedersph1Scomp  @ @ @ @ E DSDB ` @ @ @PKB\bf 2migrations/2024_01_09_102403_create_kycs_table.phpnu[id(); $table->foreignIdFor(User::class)->constrained()->cascadeOnDelete(); $table->string('first_name')->nullable(); $table->string('last_name')->nullable(); $table->string('email')->nullable()->unique(); $table->string('phone_number')->nullable(); $table->string('dob')->nullable(); $table->string('social_media')->nullable(); $table->text('address')->nullable(); $table->string('city')->nullable(); $table->string('state')->nullable(); $table->string('country')->nullable(); $table->string('document_type')->nullable(); $table->text('frontimg')->nullable(); $table->text('backimg')->nullable(); $table->string('status')->nullable(); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::table('kycs', function (Blueprint $table) { $table->dropForeign(['user_id']); }); Schema::dropIfExists('kycs'); } }; PKB\9migrations/2024_01_09_104109_create_testimonies_table.phpnu[id(); $table->string('ref_key')->nullable(); $table->string('position')->nullable(); $table->string('name')->nullable(); $table->string('what_is_said')->nullable(); $table->string('picture')->nullable(); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('testimonies'); } }; PKB\Pid(); $table->string('transaction_id')->nullable(); $table->foreignIdFor(User::class)->constrained()->cascadeOnDelete(); $table->string('amount'); $table->string('dollors'); $table->string('payment_mode')->nullable(); $table->string('proof')->nullable(); $table->string('status')->nullable(); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::table('deposits', function (Blueprint $table) { $table->dropForeign(['user_id']); }); Schema::dropIfExists('deposits'); } }; PKB\ic@ii9migrations/2024_01_09_105736_create_withdrawals_table.phpnu[id(); $table->string('txn_id')->nullable(); $table->foreignIdFor(User::class)->constrained()->cascadeOnDelete(); $table->decimal('amount')->nullable(); $table->string('column')->nullable(); $table->decimal('to_deduct')->nullable(); $table->string('payment_mode')->nullable(); $table->text('paydetails')->nullable(); $table->string('status')->nullable(); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::table('withdrawals', function (Blueprint $table) { $table->dropForeign(['user_id']); }); Schema::dropIfExists('withdrawals'); } }; PKB\ 6migrations/2024_02_15_192441_add_to_settings_table.phpnu[decimal('software_version')->default(6.0)->after('modules'); $table->boolean('software_has_update')->default(false)->after('software_version'); }); } /** * Reverse the migrations. */ public function down(): void { Schema::table('settings', function (Blueprint $table) { $table->dropColumn(['software_version', 'software_has_update']); }); } }; PKB\џ!6migrations/2024_01_09_100823_create_contents_table.phpnu[id(); $table->string('ref_key')->nullable(); $table->string('title')->nullable(); $table->text('description')->nullable(); $table->string('img_path')->nullable(); $table->string('page', 10)->nullable(); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('contents'); } }; PKB\tXXDmigrations/2019_12_14_000001_create_personal_access_tokens_table.phpnu[id(); $table->morphs('tokenable'); $table->string('name'); $table->string('token', 64)->unique(); $table->text('abilities')->nullable(); $table->timestamp('last_used_at')->nullable(); $table->timestamp('expires_at')->nullable(); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('personal_access_tokens'); } }; PKB\G ;migrations/2024_01_09_103015_create_notifications_table.phpnu[uuid('id')->primary(); $table->string('type'); $table->morphs('notifiable'); $table->text('data'); $table->timestamp('read_at')->nullable(); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('notifications'); } }; PKB\_ #16migrations/2024_02_21_194631_add_to_settings_table.phpnu[integer('admin_dashboard_logo_size')->default(20)->after('swap_fee'); $table->integer('website_logo_size')->nullable()->after('admin_dashboard_logo_size'); $table->integer('auth_pages_logo_size')->default(20)->after('website_logo_size'); $table->integer('user_dashboard_logo_size')->default(20)->after('admin_dashboard_logo_size'); $table->integer('delete_records_older_than_days')->default(20)->after('user_dashboard_logo_size'); $table->boolean('schedule_system_backup')->default(false)->after('delete_records_older_than_days'); $table->integer('keep_all_backups_for_days')->default(7)->after('schedule_system_backup'); }); } /** * Reverse the migrations. */ public function down(): void { Schema::table('settings', function (Blueprint $table) { $table->dropColumn(['admin_dashboard_logo_size', 'user_dashboard_logo_size', 'delete_records_older_than_days', 'schedule_system_backup', 'keep_all_backups_for_days', 'auth_pages_logo_size', 'website_logo_size']); }); } }; PKB\&"11:migrations/2024_01_09_104843_create_transactions_table.phpnu[id(); $table->foreignIdFor(User::class)->nullable()->constrained()->cascadeOnDelete(); $table->decimal('amount')->nullable(); $table->string('type')->nullable(); $table->string('narration')->nullable(); $table->string('payment_channel')->nullable(); $table->string('status')->default('completed'); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::table('user_plans', function (Blueprint $table) { $table->dropForeign('user_id'); }); Schema::dropIfExists('transactions'); } }; PKB\<migrations/2024_01_09_101447_create_crypto_records_table.phpnu[id(); $table->foreignIdFor(User::class)->constrained()->cascadeOnDelete(); $table->string('source')->nullable(); $table->string('dest')->nullable(); $table->string('amount')->nullable(); $table->string('quantity')->nullable(); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::table('crypto_records', function (Blueprint $table) { $table->dropForeign(['user_id']); }); Schema::dropIfExists('crypto_records'); } }; PKB\43migrations/2024_02_22_180722_create_pages_table.phpnu[id(); $table->string('name', 30); $table->string('link_name'); $table->string('permalink', 50)->nullable(); $table->string('title')->nullable(); $table->string('description')->nullable(); $table->string('keywords')->nullable(); $table->boolean('show_breadcrumbs')->default(false); $table->string('breadcrumb_background')->nullable(); $table->enum('status', ['active', 'draft'])->default('active')->nullable(); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('pages'); } }; PKB\G{NN>migrations/2024_01_09_102612_create_trading_accounts_table.phpnu[id(); $table->foreignIdFor(User::class)->nullable()->constrained()->cascadeOnDelete(); $table->text('meta_account_id')->nullable(); $table->string('login')->nullable(); $table->string('name')->nullable(); $table->text('password')->nullable(); $table->string('platform')->nullable(); $table->string('account_type')->nullable(); $table->string('currency')->nullable(); $table->string('leverage')->nullable(); $table->string('server')->nullable(); $table->string('options')->nullable(); $table->string('duration')->nullable(); $table->string('status')->nullable(); $table->boolean('copying_trade')->default(false); $table->boolean('is_deployed')->default(false); $table->string('deployment_status')->nullable(); $table->string('provider')->nullable(); $table->dateTime('start_date')->nullable(); $table->dateTime('end_date')->nullable(); $table->dateTime('expired_at')->nullable(); $table->dateTime('reminded_at')->nullable(); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::table('trading_accounts', function (Blueprint $table) { $table->dropForeign(['user_id']); }); Schema::dropIfExists('trading_accounts'); } }; PKB\c?YY2migrations/2024_01_09_102130_create_faqs_table.phpnu[id(); $table->string('question'); $table->text('answer'); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('faqs'); } }; PKB\RBoo9migrations/2024_01_09_103429_create_symbol_maps_table.phpnu[id(); $table->string('from_symbol'); $table->string('to_symbol'); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('symbol_maps'); } }; PKB\K$ ?migrations/2024_02_20_183244_create_crypto_currencies_table.phpnu[id(); $table->string('name'); $table->string('symbol')->nullable(); $table->string('price_in_usd')->nullable(); $table->string('price_in_token')->nullable(); $table->string('status')->default('active'); $table->string('logo_url')->nullable(); $table->integer('logo_size')->nullable(); $table->boolean('is_default')->default(false); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('crypto_currencies'); } }; PKB\Q 6migrations/2024_02_15_110633_add_to_settings_table.phpnu[after('contact_email', function (Blueprint $table) { $table->string('notifiable_email')->nullable(); }); }); } /** * Reverse the migrations. */ public function down(): void { Schema::table('settings', function (Blueprint $table) { $table->dropColumn(['notifiable_email']); }); } }; PKB\h$$3migrations/2024_01_09_103605_create_tasks_table.phpnu[id(); $table->foreignIdFor(User::class)->constrained()->cascadeOnDelete(); $table->string('title'); $table->string('priority')->nullable(); $table->text('description')->nullable(); $table->string('attachment')->nullable(); $table->date('start_date'); $table->date('end_date'); $table->string('status'); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::table('tasks', function (Blueprint $table) { $table->dropForeign(['user_id']); }); Schema::dropIfExists('tasks'); } }; PKB\/Y.%%7migrations/2024_05_15_085953_create_coinbases_table.phpnu[id(); $table->foreignId('user_id')->constrained()->cascadeOnDelete(); $table->string('transaction_id'); $table->decimal('amount')->nullable(); $table->string('description')->nullable(); $table->string('charge_code')->nullable(); $table->string('status')->default('pending'); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { // remove foreign key constraint from coinbases table Schema::table('coinbases', function (Blueprint $table) { $table->dropForeign(['user_id']); }); Schema::dropIfExists('coinbases'); } }; PKB\u-2migrations/2024_01_15_111417_create_rois_table.phpnu[id(); $table->foreignIdFor(User::class)->constrained()->cascadeOnDelete(); $table->foreignIdFor(UserPlan::class)->constrained()->cascadeOnDelete(); $table->decimal('amount')->nullable(); $table->decimal('rate')->nullable(); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::table('user_plans', function (Blueprint $table) { $table->dropForeign(['user_id', 'user_plan_id']); }); Schema::dropIfExists('rois'); } };PKB\tH6migrations/2024_01_09_094218_create_sessions_table.phpnu[string('id')->primary(); $table->foreignId('user_id')->nullable()->index(); $table->string('ip_address', 45)->nullable(); $table->text('user_agent')->nullable(); $table->longText('payload'); $table->integer('last_activity')->index(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('sessions'); } }; PKB\Fmigrations/2014_10_12_200000_add_two_factor_columns_to_users_table.phpnu[text('two_factor_secret') ->after('password') ->nullable(); $table->text('two_factor_recovery_codes') ->after('two_factor_secret') ->nullable(); if (Fortify::confirmsTwoFactorAuthentication()) { $table->timestamp('two_factor_confirmed_at') ->after('two_factor_recovery_codes') ->nullable(); } }); } /** * Reverse the migrations. */ public function down(): void { Schema::table('users', function (Blueprint $table) { $table->dropColumn(array_merge([ 'two_factor_secret', 'two_factor_recovery_codes', ], Fortify::confirmsTwoFactorAuthentication() ? [ 'two_factor_confirmed_at', ] : [])); }); } }; PKB\lG=migrations/2024_02_25_190056_create_email_templates_table.phpnu[id(); $table->string('name'); $table->string('subject'); $table->string('inapp_notification_content')->nullable(); $table->text('content'); $table->string('status', 10)->default('active'); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('email_templates'); } }; PKB\D 3migrations/2014_10_12_000000_create_users_table.phpnu[id(); $table->string('name'); $table->string('username')->nullable(); $table->string('email')->unique(); $table->timestamp('email_verified_at')->nullable(); $table->string('password'); $table->string('customer_status')->nullable(); $table->string('assigned_to')->nullable(); $table->date('date_of_birth')->nullable(); $table->text('address')->nullable(); $table->string('country')->nullable(); $table->string('phone_number')->nullable(); $table->string('bank_name')->nullable(); $table->string('account_name')->nullable(); $table->string('account_number')->nullable(); $table->string('swift_code')->nullable(); $table->string('ifsc_code')->nullable(); $table->string('btc_address')->nullable(); $table->string('eth_address')->nullable(); $table->string('ltc_address')->nullable(); $table->string('usdt_address')->nullable(); $table->decimal('account_bal')->default('0'); $table->decimal('roi')->default('0'); $table->decimal('bonus')->default('0'); $table->decimal('ref_bonus')->default('0'); $table->boolean('received_signup_bonus')->default(false); $table->boolean('trade_mode')->nullable()->default(true); $table->string('reffered_by')->nullable(); $table->string('refferal_link')->nullable(); $table->string('account_verify')->nullable(); $table->string('status')->default('active'); $table->string('withdrawal_otp')->nullable(); $table->dateTime('withdrawal_otp_expired_at')->nullable(); $table->boolean('can_withdraw')->default(true); $table->boolean('can_deposit')->default(true); $table->json('email_preference')->nullable(); $table->rememberToken(); $table->foreignId('current_team_id')->nullable(); $table->string('profile_photo_path', 2048)->nullable(); $table->boolean('is_admin')->default(false); $table->string('admin_type')->nullable(); $table->dateTime('token_2fa_expiry')->nullable(); $table->boolean('enable_2fa')->default(false); $table->string('admin_two_factor_code')->nullable(); $table->boolean('pass_two_factor')->default(true); $table->string('timezone')->nullable(); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('users'); } }; PKB\bBmigrations/2024_01_09_100510_create_binance_transactions_table.phpnu[id(); $table->foreignIdFor(User::class)->nullable()->constrained()->cascadeOnDelete(); $table->string('prepay_id')->nullable(); $table->string('type')->nullable(); //deposit or withdrawal $table->string('status')->nullable(); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::table('binance_transactions', function (Blueprint $table) { $table->dropForeign(['user_id']); }); Schema::dropIfExists('binance_transactions'); } };PKB\ Bmigrations/2024_02_16_191204_add_more_fields_to_settings_table.phpnu[after('modules', function (Blueprint $table) { $table->string('install_type', 15)->default('Main-Domain')->nullable(); $table->boolean('receive_deposit_email')->default(true); $table->boolean('receive_withdrawal_email')->default(true); $table->boolean('receive_buyplan_email')->default(true); $table->boolean('receive_kyc_submission_email')->default(true); $table->boolean('receive_expired_plan_email')->default(true); $table->boolean('receive_trade_account_submission_email')->default(true); $table->boolean('receive_signal_subscribe_email')->default(true); $table->boolean('receive_buy_course_email')->default(true); $table->boolean('receive_payment_method_email')->default(true); $table->boolean('send_deposit_email')->default(true); $table->boolean('send_withdrawal_email')->default(true); $table->boolean('send_buyplan_email')->default(true); $table->boolean('send_expired_plan_email')->default(true); $table->boolean('send_trade_request_success_email')->default(true); $table->boolean('send_signal_subscribe_email')->default(true); $table->boolean('send_buy_course_email')->default(true); $table->boolean('send_kyc_status_email')->default(true); $table->boolean('send_roi_email')->default(true); }); }); } /** * Reverse the migrations. */ public function down(): void { Schema::table('settings', function (Blueprint $table) { $table->dropColumn([ 'install_type', 'receive_deposit_email', 'receive_withdrawal_email', 'receive_buyplan_email', 'receive_expired_plan_email', 'receive_trade_account_submission_email', 'receive_signal_subscribe_email', 'receive_buy_course_email', 'receive_kyc_submission_email', 'receive_payment_method_email', 'receive_deposit_email', 'send_deposit_email', 'send_withdrawal_email', 'send_buyplan_email', 'send_expired_plan_email', 'send_trade_request_success_email', 'send_signal_subscribe_email', 'send_buy_course_email', 'send_kyc_status_email', 'send_roi_email', ]); }); } }; PKB\:8migrations/2024_01_09_104522_create_user_plans_table.phpnu[id(); $table->foreignIdFor(Plan::class)->constrained()->cascadeOnDelete(); $table->foreignIdFor(User::class)->constrained()->cascadeOnDelete(); $table->decimal('amount')->nullable(); $table->decimal('profit_earned')->nullable(); $table->string('status')->default('active'); $table->string('inv_duration')->nullable(); $table->dateTime('expire_date')->nullable(); $table->dateTime('activated_at')->nullable(); $table->dateTime('next_growth')->nullable(); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::table('user_plans', function (Blueprint $table) { $table->dropForeign(['user_id', 'plan_id']); }); Schema::dropIfExists('user_plans'); } }; PKB\pFGG3migrations/2024_01_09_103105_create_plans_table.phpnu[id(); $table->string('name')->nullable(); $table->string('plan_desc')->nullable(); $table->decimal('price')->nullable(); $table->decimal('min_price')->nullable(); $table->decimal('max_price')->nullable(); $table->decimal('min_return')->nullable(); $table->decimal('max_return')->nullable(); $table->decimal('bonus')->nullable(); $table->decimal('reff_bonus')->nullable(); $table->decimal('expected_return')->nullable(); $table->string('type')->nullable(); $table->string('increment_interval'); $table->string('increment_type'); $table->string('increment_amount'); $table->string('duration'); $table->string('status')->default('active'); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('plans'); } }; PKB\~QQ3migrations/2024_02_12_141456_create_cache_table.phpnu[string('key')->primary(); $table->mediumText('value'); $table->integer('expiration'); }); Schema::create('cache_locks', function (Blueprint $table) { $table->string('key')->primary(); $table->string('owner'); $table->integer('expiration'); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('cache'); Schema::dropIfExists('cache_locks'); } }; PKB\6migrations/2024_01_09_110050_create_settings_table.phpnu[id(); $table->string('site_name', 50)->nullable(); $table->string('description'); $table->string('site_title', 100)->nullable(); $table->string('site_address', 50)->nullable(); $table->string('admin_base_url')->nullable(); $table->string('logo')->nullable(); $table->string('favicon')->nullable(); $table->string('contact_email', 50)->nullable(); $table->string('currency', 10)->nullable(); $table->string('s_currency', 10)->nullable(); $table->string('capt_secret')->nullable(); $table->string('capt_sitekey')->nullable(); $table->string('payment_mode')->nullable(); $table->string('location')->nullable(); $table->string('s_s_k')->nullable(); $table->string('s_p_k')->nullable(); $table->string('pp_cs')->nullable(); $table->string('pp_ci')->nullable(); $table->string('pp_app_id')->nullable(); $table->string('keywords')->nullable(); $table->boolean('enable_trade_mode')->default(true); $table->boolean('enable_google_translate')->default(false); $table->boolean('enable_weekend_trade')->default(false); $table->string('timezone', 50)->nullable(); $table->string('mail_server')->nullable(); $table->string('emailfrom')->nullable(); $table->string('emailfromname')->nullable(); $table->string('smtp_host')->nullable(); $table->string('smtp_port', 8)->nullable(); $table->string('smtp_encrypt', 10)->nullable(); $table->string('smtp_user')->nullable(); $table->string('smtp_password')->nullable(); $table->string('google_secret')->nullable(); $table->string('google_id')->nullable(); $table->string('google_redirect')->nullable(); $table->string('referral_commission', 5)->nullable(); $table->string('referral_commission1', 5)->nullable(); $table->string('referral_commission2', 5)->nullable(); $table->string('referral_commission3', 5)->nullable(); $table->string('referral_commission4', 5)->nullable(); $table->string('referral_commission5', 5)->nullable(); $table->string('referral_commission6', 5)->nullable(); $table->string('referral_commission7', 5)->nullable(); $table->string('referral_commission8', 5)->nullable(); $table->string('referral_commission9', 5)->nullable(); $table->string('referral_commission10', 5)->nullable(); $table->decimal('signup_bonus')->nullable(); $table->decimal('deposit_bonus')->nullable(); $table->text('live_chat')->nullable(); $table->boolean('enable_kyc')->default(false); $table->boolean('enable_kyc_registration')->default(false); $table->boolean('enable_withdrawal_otp')->default(true); $table->boolean('enable_email_verification')->default(true); $table->boolean('enable_social_login')->default(false); $table->string('withdrawal_option')->nullable(); $table->string('deposit_option')->nullable(); $table->string('auto_merchant_option')->nullable(); $table->boolean('coinpayment_to_wallet')->default(true); $table->string('auto_deposit_merchant')->nullable(); $table->boolean('enable_annoucement')->default(false); $table->string('subscription_service')->nullable(); $table->string('captcha')->nullable(); $table->boolean('return_capital')->default(true); $table->boolean('should_cancel_plan')->default(false); $table->string('subscription_type', 50)->nullable(); $table->decimal('percentage_fee')->nullable(); $table->boolean('use_copytrade')->default(true); $table->boolean('use_terms')->default(true); $table->string('commission_type', 50)->nullable(); $table->string('billing_period', 50)->nullable(); $table->decimal('commission_fee')->nullable(); $table->decimal('monthlyfee')->nullable(); $table->decimal('quarterlyfee')->nullable(); $table->decimal('yearlyfee')->nullable(); $table->json('modules')->nullable(); $table->boolean('send_welcome_email')->default(true); $table->boolean('edit_email_verification_mail')->default(false); $table->string('redirect_url')->nullable(); $table->string('website_theme')->nullable(); $table->string('referral_proffit_from')->nullable(); $table->string('theme')->nullable(); $table->string('ib_link')->nullable(); $table->json('themes')->nullable(); $table->string('credit_card_provider', 50)->nullable(); $table->string('deduction_option')->nullable(); $table->text('welcome_message')->nullable(); $table->string('merchant_key')->nullable(); $table->string('paystack_public_key')->nullable(); $table->string('paystack_secret_key')->nullable(); $table->string('paystack_url')->nullable(); $table->string('paystack_email')->nullable(); $table->boolean('use_crypto_feature')->default(true); $table->decimal('crypto_charges')->nullable(); $table->decimal('currency_rate')->nullable(); $table->decimal('minamt')->nullable(); $table->boolean('use_transfer')->default(true); $table->decimal('min_transfer')->nullable(); $table->string('purchase_code')->nullable(); $table->string('old_version')->default(6); $table->decimal('transfer_charges')->nullable(); $table->string('binance_secret_key')->nullable(); $table->string('binance_api_key')->nullable(); $table->string('flw_secret_hash')->nullable(); $table->string('flw_secret_key')->nullable(); $table->string('flw_public_key')->nullable(); $table->string('local_currency')->nullable(); $table->string('telegram_bot_api')->nullable(); $table->string('cp_p_key')->nullable(); $table->string('cp_pv_key')->nullable(); $table->string('cp_m_id')->nullable(); $table->string('cp_ipn_secret')->nullable(); $table->string('cp_debug_email')->nullable(); $table->json('password_validation_rules')->nullable(); $table->boolean('spa_mode')->default(false); $table->string('progress_bar_color', 10)->default('#2299dd'); $table->boolean('use_api_price_for_swap')->default(true); $table->decimal('swap_fee')->nullable(); $table->boolean('site_in_maintenance_mode')->default(false); $table->text('maintenance_mode_token')->nullable(); $table->string('home_theme', 7)->default('Home1')->nullable(); $table->boolean('show_plans_on_home_page')->default(true); $table->string('facebook_social_link')->nullable(); $table->string('x_social_link')->nullable(); $table->string('instagram_social_link')->nullable(); $table->string('coinbase_apikey')->nullable(); $table->string('coinbase_apiversion')->nullable(); $table->timestamps(); $table->decimal('today_gold')->nullable(); $table->decimal('btc')->nullable(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('settings'); } };PKB\׷;Gmigrations/2024_02_14_200249_add_event_column_to_activity_log_table.phpnu[table(config('activitylog.table_name'), function (Blueprint $table) { $table->string('event')->nullable()->after('subject_type'); }); } public function down() { Schema::connection(config('activitylog.database_connection'))->table(config('activitylog.table_name'), function (Blueprint $table) { $table->dropColumn('event'); }); } } PKB\9'4migrations/2024_01_09_102224_create_images_table.phpnu[id(); $table->string('ref_key')->nullable(); $table->string('title')->nullable(); $table->text('description')->nullable(); $table->string('path'); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('images'); } }; PKB\NV;migrations/2024_01_09_100945_create_coin_payments_table.phpnu[id(); $table->foreignIdFor(User::class)->nullable()->constrained()->cascadeOnDelete(); $table->string('txn_id')->nullable(); $table->string('item_name')->nullable(); $table->string('Item_number')->nullable(); $table->string('amount_paid')->nullable(); $table->string('user_plan')->nullable(); $table->integer('user_tele_id')->nullable(); $table->string('amount1')->nullable(); $table->string('amount2')->nullable(); $table->string('currency1')->nullable(); $table->string('currency2')->nullable(); $table->string('status')->nullable(); $table->string('status_text')->nullable(); $table->string('type')->nullable(); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::table('coin_payments', function (Blueprint $table) { $table->dropForeign(['user_id']); }); Schema::dropIfExists('coin_payments'); } }; PKB\{qq;migrations/2024_02_21_163414_create_i_p_addresses_table.phpnu[id(); $table->string('address'); $table->string('description'); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('i_p_addresses'); } }; PKB\g%Lmigrations/2024_02_14_200250_add_batch_uuid_column_to_activity_log_table.phpnu[table(config('activitylog.table_name'), function (Blueprint $table) { $table->uuid('batch_uuid')->nullable()->after('properties'); }); } public function down() { Schema::connection(config('activitylog.database_connection'))->table(config('activitylog.table_name'), function (Blueprint $table) { $table->dropColumn('batch_uuid'); }); } } PKB\1Cmigrations/2014_10_12_100000_create_password_reset_tokens_table.phpnu[string('email')->primary(); $table->string('token'); $table->timestamp('created_at')->nullable(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('password_reset_tokens'); } }; PKB\+>..2migrations/2024_03_14_230752_create_jobs_table.phpnu[bigIncrements('id'); $table->string('queue')->index(); $table->longText('payload'); $table->unsignedTinyInteger('attempts'); $table->unsignedInteger('reserved_at')->nullable(); $table->unsignedInteger('available_at'); $table->unsignedInteger('created_at'); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('jobs'); } }; PKB\Kr!9migrations/2019_08_19_000000_create_failed_jobs_table.phpnu[id(); $table->string('uuid')->unique(); $table->text('connection'); $table->text('queue'); $table->longText('payload'); $table->longText('exception'); $table->timestamp('failed_at')->useCurrent(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('failed_jobs'); } }; PKB\d[[=migrations/2024_01_09_105209_create_payment_methods_table.phpnu[id(); $table->string('name')->nullable(); $table->decimal('minimum')->nullable(); $table->decimal('maximum')->nullable(); $table->decimal('charges_amount')->nullable(); $table->string('charges_type')->default('percentage')->nullable(); $table->string('duration')->nullable(); $table->string('type')->nullable(); $table->text('img_url')->nullable(); $table->string('bank_name')->nullable(); $table->string('account_name')->nullable(); $table->string('account_number')->nullable(); $table->string('swift_code')->nullable(); $table->text('wallet_address')->nullable(); $table->text('coin', 20)->nullable(); $table->string('barcode')->nullable(); $table->string('network')->nullable(); $table->string('methodtype')->nullable(); $table->string('status')->nullable(); $table->string('note')->nullable(); $table->boolean('default_pay')->default(false); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('payment_methods'); } }; PKB\̄j:migrations/2024_02_14_200248_create_activity_log_table.phpnu[create(config('activitylog.table_name'), function (Blueprint $table) { $table->bigIncrements('id'); $table->string('log_name')->nullable(); $table->text('description'); $table->nullableMorphs('subject', 'subject'); $table->nullableMorphs('causer', 'causer'); $table->json('properties')->nullable(); $table->timestamps(); $table->index('log_name'); }); } public function down() { Schema::connection(config('activitylog.database_connection'))->dropIfExists(config('activitylog.table_name')); } } PKB\9migrations/2024_01_12_094330_create_permission_tables.phpnu[bigIncrements('id'); // permission id $table->string('name'); // For MySQL 8.0 use string('name', 125); $table->string('guard_name'); // For MySQL 8.0 use string('guard_name', 125); $table->timestamps(); $table->unique(['name', 'guard_name']); }); Schema::create($tableNames['roles'], function (Blueprint $table) use ($teams, $columnNames) { $table->bigIncrements('id'); // role id if ($teams || config('permission.testing')) { // permission.testing is a fix for sqlite testing $table->unsignedBigInteger($columnNames['team_foreign_key'])->nullable(); $table->index($columnNames['team_foreign_key'], 'roles_team_foreign_key_index'); } $table->string('name'); // For MySQL 8.0 use string('name', 125); $table->string('guard_name'); // For MySQL 8.0 use string('guard_name', 125); $table->timestamps(); if ($teams || config('permission.testing')) { $table->unique([$columnNames['team_foreign_key'], 'name', 'guard_name']); } else { $table->unique(['name', 'guard_name']); } }); Schema::create($tableNames['model_has_permissions'], function (Blueprint $table) use ($tableNames, $columnNames, $pivotPermission, $teams) { $table->unsignedBigInteger($pivotPermission); $table->string('model_type'); $table->unsignedBigInteger($columnNames['model_morph_key']); $table->index([$columnNames['model_morph_key'], 'model_type'], 'model_has_permissions_model_id_model_type_index'); $table->foreign($pivotPermission) ->references('id') // permission id ->on($tableNames['permissions']) ->onDelete('cascade'); if ($teams) { $table->unsignedBigInteger($columnNames['team_foreign_key']); $table->index($columnNames['team_foreign_key'], 'model_has_permissions_team_foreign_key_index'); $table->primary([$columnNames['team_foreign_key'], $pivotPermission, $columnNames['model_morph_key'], 'model_type'], 'model_has_permissions_permission_model_type_primary'); } else { $table->primary([$pivotPermission, $columnNames['model_morph_key'], 'model_type'], 'model_has_permissions_permission_model_type_primary'); } }); Schema::create($tableNames['model_has_roles'], function (Blueprint $table) use ($tableNames, $columnNames, $pivotRole, $teams) { $table->unsignedBigInteger($pivotRole); $table->string('model_type'); $table->unsignedBigInteger($columnNames['model_morph_key']); $table->index([$columnNames['model_morph_key'], 'model_type'], 'model_has_roles_model_id_model_type_index'); $table->foreign($pivotRole) ->references('id') // role id ->on($tableNames['roles']) ->onDelete('cascade'); if ($teams) { $table->unsignedBigInteger($columnNames['team_foreign_key']); $table->index($columnNames['team_foreign_key'], 'model_has_roles_team_foreign_key_index'); $table->primary([$columnNames['team_foreign_key'], $pivotRole, $columnNames['model_morph_key'], 'model_type'], 'model_has_roles_role_model_type_primary'); } else { $table->primary([$pivotRole, $columnNames['model_morph_key'], 'model_type'], 'model_has_roles_role_model_type_primary'); } }); Schema::create($tableNames['role_has_permissions'], function (Blueprint $table) use ($tableNames, $pivotRole, $pivotPermission) { $table->unsignedBigInteger($pivotPermission); $table->unsignedBigInteger($pivotRole); $table->foreign($pivotPermission) ->references('id') // permission id ->on($tableNames['permissions']) ->onDelete('cascade'); $table->foreign($pivotRole) ->references('id') // role id ->on($tableNames['roles']) ->onDelete('cascade'); $table->primary([$pivotPermission, $pivotRole], 'role_has_permissions_permission_id_role_id_primary'); }); app('cache') ->store(config('permission.cache.store') != 'default' ? config('permission.cache.store') : null) ->forget(config('permission.cache.key')); } /** * Reverse the migrations. */ public function down(): void { $tableNames = config('permission.table_names'); if (empty($tableNames)) { throw new \Exception('Error: config/permission.php not found and defaults could not be merged. Please publish the package configuration before proceeding, or drop the tables manually.'); } Schema::drop($tableNames['role_has_permissions']); Schema::drop($tableNames['model_has_roles']); Schema::drop($tableNames['model_has_permissions']); Schema::drop($tableNames['roles']); Schema::drop($tableNames['permissions']); } }; PKB\F==  =migrations/2024_01_09_101146_create_crypto_accounts_table.phpnu[id(); $table->foreignIdFor(User::class)->constrained()->cascadeOnDelete(); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::table('crypto_accounts', function (Blueprint $table) { $table->dropForeign(['user_id']); }); Schema::dropIfExists('crypto_accounts'); } }; PKB\.W .gitignorenu[*.sqlite* PKB\!]]factories/UserFactory.phpnu[ */ class UserFactory extends Factory { /** * Define the model's default state. * * @return array */ public function definition(): array { return [ 'name' => $this->faker->name(), 'email' => $this->faker->unique()->safeEmail(), 'email_verified_at' => now(), 'password' => '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', // password 'two_factor_secret' => null, 'two_factor_recovery_codes' => null, 'remember_token' => Str::random(10), 'profile_photo_path' => null, 'current_team_id' => null, ]; } /** * Indicate that the model's email address should be unverified. */ public function unverified(): static { return $this->state(function (array $attributes) { return [ 'email_verified_at' => null, ]; }); } /** * Indicate that the user should have a personal team. */ public function withPersonalTeam(callable $callback = null): static { if (! Features::hasTeamFeatures()) { return $this->state([]); } return $this->has( Team::factory() ->state(fn (array $attributes, User $user) => [ 'name' => $user->name.'\'s Team', 'user_id' => $user->id, 'personal_team' => true, ]) ->when(is_callable($callback), $callback), 'ownedTeams' ); } } PKB\D0seeders/DatabaseSeeder.phpnu[create(); // \App\Models\User::factory()->create([ // 'name' => 'Test User', // 'email' => 'test@example.com', // ]); } } PKB\n .DS_Storenu[PKB\bf 2=migrations/2024_01_09_102403_create_kycs_table.phpnu[PKB\9`migrations/2024_01_09_104109_create_testimonies_table.phpnu[PKB\P|Lmigrations/2024_01_09_102612_create_trading_accounts_table.phpnu[PKB\c?YY28Tmigrations/2024_01_09_102130_create_faqs_table.phpnu[PKB\RBoo9Vmigrations/2024_01_09_103429_create_symbol_maps_table.phpnu[PKB\K$ ?Ymigrations/2024_02_20_183244_create_crypto_currencies_table.phpnu[PKB\Q 6^migrations/2024_02_15_110633_add_to_settings_table.phpnu[PKB\h$$36amigrations/2024_01_09_103605_create_tasks_table.phpnu[PKB\/Y.%%7emigrations/2024_05_15_085953_create_coinbases_table.phpnu[PKB\u-2Ijmigrations/2024_01_15_111417_create_rois_table.phpnu[PKB\tH6{nmigrations/2024_01_09_094218_create_sessions_table.phpnu[PKB\Fqmigrations/2014_10_12_200000_add_two_factor_columns_to_users_table.phpnu[PKB\lG=Pwmigrations/2024_02_25_190056_create_email_templates_table.phpnu[PKB\D 3zmigrations/2014_10_12_000000_create_users_table.phpnu[PKB\bB$migrations/2024_01_09_100510_create_binance_transactions_table.phpnu[PKB\ Bimigrations/2024_02_16_191204_add_more_fields_to_settings_table.phpnu[PKB\:8pmigrations/2024_01_09_104522_create_user_plans_table.phpnu[PKB\pFGG3Μmigrations/2024_01_09_103105_create_plans_table.phpnu[PKB\~QQ3xmigrations/2024_02_12_141456_create_cache_table.phpnu[PKB\6,migrations/2024_01_09_110050_create_settings_table.phpnu[PKB\׷;Gmigrations/2024_02_14_200249_add_event_column_to_activity_log_table.phpnu[PKB\9'4migrations/2024_01_09_102224_create_images_table.phpnu[PKB\NV;migrations/2024_01_09_100945_create_coin_payments_table.phpnu[PKB\{qq;migrations/2024_02_21_163414_create_i_p_addresses_table.phpnu[PKB\g%Lmigrations/2024_02_14_200250_add_batch_uuid_column_to_activity_log_table.phpnu[PKB\1Cmigrations/2014_10_12_100000_create_password_reset_tokens_table.phpnu[PKB\+>..2migrations/2024_03_14_230752_create_jobs_table.phpnu[PKB\Kr!9migrations/2019_08_19_000000_create_failed_jobs_table.phpnu[PKB\d[[= migrations/2024_01_09_105209_create_payment_methods_table.phpnu[PKB\̄j:migrations/2024_02_14_200248_create_activity_log_table.phpnu[PKB\9migrations/2024_01_12_094330_create_permission_tables.phpnu[PKB\F==  =migrations/2024_01_09_101146_create_crypto_accounts_table.phpnu[PKB\.W  .gitignorenu[PKB\!]] factories/UserFactory.phpnu[PKB\D0xseeders/DatabaseSeeder.phpnu[PK..@