first commit

This commit is contained in:
vedant-chavan
2024-06-12 20:29:05 +05:30
commit eff0228447
246 changed files with 25388 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
<?php
namespace App\Console\Commands;
use Illuminate\Console\Command;
use DB;
class UpdateTableColumnCommand extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'update:column';
/**
* The console command description.
*
* @var string
*/
protected $description = 'Update isactive column value by 1 daily 9AM';
/**
* Execute the console command.
*
* @return int
*/
public function handle()
{
DB::table('mood_o_meter')->update(['is_active' => '1']);
$this->info('Table column updated successfully.');
}
}