You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit e01a428
Browse filesBrowse the repository at this point in the historyBrowse files
'CREATE TABLE "NativeUser" ("id" SERIAL NOT NULL,"createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,"email" TEXT NOT NULL,"name" TEXT,CONSTRAINT "User_pkey" PRIMARY KEY ("id"));',
32
+
)
33
+
.catch(()=>{
34
+
// if this is not a fresh database, the table might already exist
35
+
});
36
+
37
+
awaitclient.query('INSERT INTO "NativeUser" ("email", "name") VALUES ($1, $2)',['tim','tim@domain.com']);
0 commit comments