()
| 211 | * would read and write each other's settings, oauth tokens, and app state. |
| 212 | */ |
| 213 | export function isLocalDatabase(): boolean { |
| 214 | if (getDialect() !== "sqlite") return false; |
| 215 | const url = getDatabaseUrl(); |
| 216 | return url === "" || url.startsWith("file:"); |
| 217 | } |
| 218 | |
| 219 | /** Returns BIGINT for Postgres (64-bit), INTEGER for SQLite (already 64-bit). */ |
| 220 | export function intType(): string { |
no test coverage detected