This is an automated email from the ASF dual-hosted git repository.

bsalzano pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/openserverless-site.git


The following commit(s) were added to refs/heads/main by this push:
     new 8b52b93  chore: createSchema must be executed also (#53)
8b52b93 is described below

commit 8b52b938d2bc31cda4f656ce66ccdecb9da937f3
Author: Francesco Timperi Tiberi <[email protected]>
AuthorDate: Mon Dec 2 18:54:20 2024 +0100

    chore: createSchema must be executed also (#53)
---
 content/en/docs/tutorial/use-database/_index.md | 1 +
 1 file changed, 1 insertion(+)

diff --git a/content/en/docs/tutorial/use-database/_index.md 
b/content/en/docs/tutorial/use-database/_index.md
index a2b2175..75ca9d9 100644
--- a/content/en/docs/tutorial/use-database/_index.md
+++ b/content/en/docs/tutorial/use-database/_index.md
@@ -37,6 +37,7 @@ async function main(args) {
     console.log('Connected to database');
 
     try {
+        await client.query(createSchema);
         await client.query(createTable);
         console.log('Contact table created');
     } catch (e) {

Reply via email to