feat(settings): add menu/show_to_user and public get_settings for client apps
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -65,6 +65,14 @@ class DeploySettingsConstCommand extends Command
|
||||
return self::FAILURE;
|
||||
}
|
||||
|
||||
$extraPath = database_path('sql/settings_menu_and_show_to_user.sql');
|
||||
if (is_file($extraPath)) {
|
||||
$extraSql = file_get_contents($extraPath);
|
||||
if ($extraSql !== false && trim($extraSql) !== '') {
|
||||
$sql .= "\n".$extraSql;
|
||||
}
|
||||
}
|
||||
|
||||
foreach ($databases as $db) {
|
||||
$db = trim((string) $db);
|
||||
if ($db === '') {
|
||||
|
||||
Reference in New Issue
Block a user