Skip to content

Commit 827295c

Browse files
committed
feat: add TableProMobile iOS app skeleton with core views
1 parent 8e97f1b commit 827295c

File tree

16 files changed

+1191
-13
lines changed

16 files changed

+1191
-13
lines changed

TablePro/Core/Database/DatabaseManager.swift

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -192,19 +192,6 @@ final class DatabaseManager {
192192
// Initialize schema for drivers that support schema switching
193193
if let schemaDriver = driver as? SchemaSwitchable {
194194
activeSessions[connection.id]?.currentSchema = schemaDriver.currentSchema
195-
196-
// Restore user's last schema if different from default
197-
if let savedSchema = AppSettingsStorage.shared.loadLastSchema(for: connection.id),
198-
savedSchema != schemaDriver.currentSchema {
199-
do {
200-
try await schemaDriver.switchSchema(to: savedSchema)
201-
activeSessions[connection.id]?.currentSchema = savedSchema
202-
} catch {
203-
Self.logger.warning(
204-
"Failed to restore saved schema '\(savedSchema, privacy: .public)' for \(connection.id): \(error.localizedDescription, privacy: .public)"
205-
)
206-
}
207-
}
208195
}
209196

210197
// Run post-connect actions declared by the plugin

0 commit comments

Comments
 (0)