diff options
Diffstat (limited to 'packages/db/src/core/cli/migration-queries.ts')
-rw-r--r-- | packages/db/src/core/cli/migration-queries.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/db/src/core/cli/migration-queries.ts b/packages/db/src/core/cli/migration-queries.ts index 1a16001df..5c4a23557 100644 --- a/packages/db/src/core/cli/migration-queries.ts +++ b/packages/db/src/core/cli/migration-queries.ts @@ -436,7 +436,7 @@ export function getProductionCurrentSnapshot(options: { async function getDbCurrentSnapshot( appToken: string, - remoteUrl: string + remoteUrl: string, ): Promise<DBSnapshot | undefined> { const client = createRemoteDatabaseClient({ dbType: 'libsql', @@ -447,7 +447,7 @@ async function getDbCurrentSnapshot( try { const res = await client.get<{ snapshot: string }>( // Latest snapshot - sql`select snapshot from _astro_db_snapshot order by id desc limit 1;` + sql`select snapshot from _astro_db_snapshot order by id desc limit 1;`, ); return JSON.parse(res.snapshot); @@ -464,7 +464,7 @@ async function getDbCurrentSnapshot( async function getStudioCurrentSnapshot( appToken: string, - remoteUrl: string + remoteUrl: string, ): Promise<DBSnapshot | undefined> { const url = new URL('/db/schema', remoteUrl); |