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
Try creating a unique index using the Nuxt Devtools Hub Database SQL Runner.
E.g. the below query doesn't give any error, but doesn't create the index as well.
CREATEUNIQUE INDEXusers_email_keyON users(email);
Is there some way to run the wrangler commands to run D1 queries in the terminal in a NuxtHub project? To be specific, can I execute the below command for interacting with the local DB?
Try creating a unique index using the Nuxt Devtools Hub Database SQL Runner.
E.g. the below query doesn't give any error, but doesn't create the index as well.
Is there some way to run the
wrangler
commands to runD1 queries
in the terminal in a NuxtHub project? To be specific, can I execute the below command for interacting with the local DB?If yes, then what should be the DB name? I tried
default
and ran the command from the root folder and got the below error:And running the command from
.data/hub
(with modified file path) folder creates a new local database (not visible to Nuxt Devtools).The text was updated successfully, but these errors were encountered: