Skip to content

Commit b334b54

Browse files
Merge branch 'main' of github.com:WatheqAlshowaiter/backup-tables
2 parents cd72b60 + 39e0c26 commit b334b54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

database/migrations/2024_07_13_090447_create_fathers_table.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public function up(): void
1818
$table->string('last_name'); // required
1919
$table->string('email'); // required
2020

21-
if (DB::getDriverName() == 'mysql'|| DB::getDriverName() == 'mariadb') {
21+
if (DB::getDriverName() == 'mysql' || DB::getDriverName() == 'mariadb') {
2222
$table->string('full_name')->virtualAs("CONCAT(first_name, ' ', last_name)");
2323
$table->string('status')->storedAs('IF(active = 1, TRUE, FALSE)');
2424
}

0 commit comments

Comments
 (0)