@plutocms/supabase 0.0.1-alpha.5 → 0.0.1-alpha.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -30,15 +30,13 @@ export default defineEventHandler(async (event) => {
|
|
|
30
30
|
const sql = postgres(connectionString)
|
|
31
31
|
|
|
32
32
|
try {
|
|
33
|
-
await sql.
|
|
34
|
-
await sql.unsafe(schema)
|
|
35
|
-
})
|
|
33
|
+
await sql.unsafe(schema)
|
|
36
34
|
|
|
37
35
|
// Set the first_setup flag in the healthcheck table to false
|
|
38
36
|
await sql`
|
|
39
37
|
UPDATE healthcheck
|
|
40
|
-
SET
|
|
41
|
-
WHERE
|
|
38
|
+
SET check_value = 'false'
|
|
39
|
+
WHERE check_name = 'first_setup';
|
|
42
40
|
`
|
|
43
41
|
|
|
44
42
|
return {
|