feat(storage): add native PostgreSQL runtime and verified offline application import
Build and publish container images / images (push) Failing after 12m29s
Build and publish container images / images (push) Failing after 12m29s
This commit is contained in:
1 parent
96065d1e89
commit
0ba1dcfef0
243 files changed
+21441
-3090
No files matched your search
@@ -110,6 +110,24 @@ func (s *Store) ensureSchemaComponent(component string) error {
|
||||
if s.ReadOnly {
|
||||
return ErrReadOnly
|
||||
}
|
||||
if s.sqlBackend == storePostgreSQL {
|
||||
switch component {
|
||||
case "projection-metadata", "resource-history", "broadcasts", "adapter-sessions":
|
||||
return s.ensurePostgreSQLServiceMetadata(context.Background(), component)
|
||||
case "event-jobs":
|
||||
return s.ensurePostgreSQLEventJobs(context.Background())
|
||||
case "feeds":
|
||||
return s.ensurePostgreSQLFeeds(context.Background())
|
||||
case "contacts":
|
||||
return s.ensurePostgreSQLContacts(context.Background())
|
||||
case "profile-contacts":
|
||||
return s.ensurePostgreSQLProfileContacts(context.Background())
|
||||
case "cli-auth":
|
||||
return s.ensurePostgreSQLAuthFoundation(context.Background())
|
||||
default:
|
||||
return fmt.Errorf("%w: %s", ErrPostgreSQLComponentNotReady, component)
|
||||
}
|
||||
}
|
||||
steps, ok := managedStoreSchemas[component]
|
||||
if !ok {
|
||||
return fmt.Errorf("unknown schema component %q", component)
|
||||
|
||||
Reference in new issue
Block a user