mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-24 13:54:57 +00:00
fix(dbal): add default Settings seed data for CodeForge
Without seed data the Settings endpoint returns 404, causing the frontend to fall back to hardcoded defaults on every page load. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
27
dbal/shared/seeds/database/codeforge_settings.json
Normal file
27
dbal/shared/seeds/database/codeforge_settings.json
Normal file
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"entity": "Settings",
|
||||
"version": "1.0",
|
||||
"package": "codeforge",
|
||||
"description": "Default application settings for CodeForge",
|
||||
"records": [
|
||||
{
|
||||
"id": "app",
|
||||
"tenantId": "default",
|
||||
"autoSave": true,
|
||||
"autoSync": true,
|
||||
"syncInterval": 30000,
|
||||
"dbalApiUrl": "http://localhost:8080",
|
||||
"useIndexedDB": true,
|
||||
"theme": "light",
|
||||
"locale": "en",
|
||||
"createdAt": 0,
|
||||
"updatedAt": 0
|
||||
}
|
||||
],
|
||||
"metadata": {
|
||||
"bootstrap": true,
|
||||
"skipIfExists": true,
|
||||
"timestampField": "createdAt",
|
||||
"useCurrentTimestamp": true
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user