Commit 4a3dbe9e authored by Mahmoud Aglan's avatar Mahmoud Aglan

fix(migration): use correct column names for system_config table

description → description_ar, add group_name (required non-null column)
Co-Authored-By: 's avatarClaude Opus 4.6 <noreply@anthropic.com>
parent 71a7ff4e
...@@ -43,9 +43,10 @@ return function (Database $db): void { ...@@ -43,9 +43,10 @@ return function (Database $db): void {
); );
if (!$existing) { if (!$existing) {
$db->insert('system_config', [ $db->insert('system_config', [
'config_key' => 'sa.swimming.coach_manage', 'config_key' => 'sa.swimming.coach_manage',
'config_value' => '1', 'config_value' => '1',
'description' => 'Swimming Coach Management permission flag', 'description_ar' => 'صلاحية إدارة مدربين السباحة',
'group_name' => 'sports_activity',
]); ]);
} }
}; };
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment