Skip to content

Commit

Permalink
Merge branch 'update_table_name'
Browse files Browse the repository at this point in the history
  • Loading branch information
nafiesl committed Jan 9, 2024
2 parents daa43fc + 75def7d commit 3de4e04
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/Lecturings/FridayLecturingGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class FridayLecturingGenerator

public function generate(Carbon $date)
{
DB::table('lecturing_schedules')->insert([
DB::table('lecturings')->insert([
'audience_code' => 'friday',
'date' => $date->format('Y-m-d'),
'start_time' => '12:20',
Expand Down
2 changes: 1 addition & 1 deletion src/Lecturings/SaturdayLecturingGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class SaturdayLecturingGenerator

public function generate(Carbon $date)
{
DB::table('lecturing_schedules')->insert([
DB::table('lecturings')->insert([
'audience_code' => 'muslimah',
'date' => $date->format('Y-m-d'),
'start_time' => '16:10',
Expand Down
2 changes: 1 addition & 1 deletion src/Lecturings/SundayLecturingGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class SundayLecturingGenerator

public function generate(Carbon $date)
{
DB::table('lecturing_schedules')->insert([
DB::table('lecturings')->insert([
'audience_code' => 'public',
'date' => $date->format('Y-m-d'),
'start_time' => '05:50',
Expand Down
2 changes: 1 addition & 1 deletion src/Lecturings/ThursdayLecturingGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class ThursdayLecturingGenerator

public function generate(Carbon $date)
{
DB::table('lecturing_schedules')->insert([
DB::table('lecturings')->insert([
'audience_code' => 'public',
'date' => $date->format('Y-m-d'),
'start_time' => '05:50',
Expand Down
2 changes: 1 addition & 1 deletion src/Lecturings/TuesdayLecturingGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class TuesdayLecturingGenerator

public function generate(Carbon $date)
{
DB::table('lecturing_schedules')->insert([
DB::table('lecturings')->insert([
'audience_code' => 'public',
'date' => $date->format('Y-m-d'),
'start_time' => '05:50',
Expand Down
2 changes: 1 addition & 1 deletion src/RemoveDemoData.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public function removeBankAccountBalances()
public function removeLecturingSchedules()
{
$this->write(Task::class, 'Remove demo lecturing schedules', function () {
DB::table('lecturing_schedules')->whereNull('created_at')->delete();
DB::table('lecturings')->whereNull('created_at')->delete();
});
}

Expand Down

0 comments on commit 3de4e04

Please sign in to comment.