Fixed many feature failures around preferences, route coverage, administrator enrollment, assignment section names, attendance tracking controller access, finance PDF generation, and finance notification logging.
API CI/CD / Validate (composer + pint) (push) Successful in 3m15s
API CI/CD / Test (PHPUnit) (push) Failing after 5m4s
API CI/CD / Build frontend assets (push) Successful in 1m3s
API CI/CD / Security audit (push) Failing after 49s
API CI/CD / Deploy to shared hosting (PHP) (push) Has been skipped
API CI/CD / Validate (composer + pint) (push) Successful in 3m15s
API CI/CD / Test (PHPUnit) (push) Failing after 5m4s
API CI/CD / Build frontend assets (push) Successful in 1m3s
API CI/CD / Security audit (push) Failing after 49s
API CI/CD / Deploy to shared hosting (PHP) (push) Has been skipped
This commit is contained in:
@@ -42,6 +42,22 @@ class SqliteCompat
|
||||
1
|
||||
);
|
||||
|
||||
if (stripos($sql, 'CREATE TABLE `additional_charges`') !== false) {
|
||||
$sql = preg_replace(
|
||||
'/`title`\\s+varchar\\(255\\)\\s+NOT\\s+NULL/i',
|
||||
'`title` varchar(255) DEFAULT NULL',
|
||||
$sql
|
||||
);
|
||||
}
|
||||
|
||||
if (stripos($sql, 'CREATE TABLE `score_comments`') !== false) {
|
||||
$sql = preg_replace(
|
||||
'/`class_section_id`\\s+integer\\s+NOT\\s+NULL/i',
|
||||
'`class_section_id` integer DEFAULT NULL',
|
||||
$sql
|
||||
);
|
||||
}
|
||||
|
||||
return $sql;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user