Skip to content

Commit 4a27fe2

Browse files
committed
refactor(database): improve RemoteConfig seeding and logging
- Correct typo in adConfig comment - Enhance log message for existing RemoteConfig - Clarify RemoteConfig setup process in comments
1 parent d3c1a59 commit 4a27fe2

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

lib/src/services/database_seeding_service.dart

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ class DatabaseSeedingService {
128128
final initialConfig = remoteConfigsFixturesData.first;
129129

130130
// Ensure primaryAdPlatform is not 'demo' for initial setup
131-
// sic its not intended for any use outside teh mobile client code.
131+
// since its not intended for any use outside the mobile client.
132132
final productionReadyAdConfig = initialConfig.adConfig.copyWith(
133133
primaryAdPlatform: AdPlatformType.local,
134134
);
@@ -145,7 +145,10 @@ class DatabaseSeedingService {
145145
});
146146
_log.info('Initial RemoteConfig created successfully.');
147147
} else {
148-
_log.info('RemoteConfig already exists. Skipping creation.');
148+
_log.info(
149+
'RemoteConfig already exists. Skipping creation. '
150+
'Schema updates are handled by DatabaseMigrationService.',
151+
);
149152
}
150153
} on Exception catch (e, s) {
151154
_log.severe('Failed to seed RemoteConfig.', e, s);

0 commit comments

Comments
 (0)