andyt
CDCloudflare Developers
•Created by andyt on 12/12/2023 in #d1-database
Hey im getting this error 'binding DB of
thanks for help
11 replies
CDCloudflare Developers
•Created by andyt on 12/12/2023 in #d1-database
Hey im getting this error 'binding DB of
ah ok, yeah ive been bitten by the preview db before, usually forget to put it in
11 replies
CDCloudflare Developers
•Created by andyt on 12/12/2023 in #d1-database
Hey im getting this error 'binding DB of
just did, same error
11 replies
CDCloudflare Developers
•Created by andyt on 12/12/2023 in #d1-database
Hey im getting this error 'binding DB of
[[d1_databases]]
binding = "DB"
database_name = "articleai"
database_id = "<id>"
preview_database_id = "DB"
11 replies
CDCloudflare Developers
•Created by andyt on 12/12/2023 in #d1-database
Hey im getting this error 'binding DB of
Wrangler v is 3.16.0
11 replies
CDCloudflare Developers
•Created by Paolo of Lost Pages on 10/11/2023 in #d1-database
can I have a look at the toml file also
yeah the docs are not clear on the local dev part, thanks for your help
32 replies
CDCloudflare Developers
•Created by Paolo of Lost Pages on 10/11/2023 in #d1-database
can I have a look at the toml file also
daily reminder the devil is still in fact in the detail
32 replies
CDCloudflare Developers
•Created by Paolo of Lost Pages on 10/11/2023 in #d1-database
can I have a look at the toml file also
thanks @Lost Pages it mentions here
preview_database_id
is required for pages local development32 replies
CDCloudflare Developers
•Created by Paolo of Lost Pages on 10/11/2023 in #d1-database
can I have a look at the toml file also
ah ok, so a migration assumes the changes are local and can be pushed to remotely, which makes sense
32 replies
CDCloudflare Developers
•Created by Paolo of Lost Pages on 10/11/2023 in #d1-database
can I have a look at the toml file also
also I assume I need the wrangle file if I am using wrangle in my project
32 replies
CDCloudflare Developers
•Created by Paolo of Lost Pages on 10/11/2023 in #d1-database
can I have a look at the toml file also
the rest of the api suggests these calls are remote unless you pass --local
32 replies
CDCloudflare Developers
•Created by Paolo of Lost Pages on 10/11/2023 in #d1-database
can I have a look at the toml file also
if I try to migrate my database it cant find it locally, I am not passing --local
32 replies
CDCloudflare Developers
•Created by Paolo of Lost Pages on 10/11/2023 in #d1-database
can I have a look at the toml file also
i can see the sqlite files, I assume I have multiple local databases in use, can I purge these and recreate from my remote? i assume thats what the migration should do
32 replies
CDCloudflare Developers
•Created by Paolo of Lost Pages on 10/11/2023 in #d1-database
can I have a look at the toml file also
so this toml isnt doing anything?
32 replies
CDCloudflare Developers
•Created by Paolo of Lost Pages on 10/11/2023 in #d1-database
can I have a look at the toml file also
I just wanna be able to dev locally, or I'll use another db
32 replies
CDCloudflare Developers
•Created by Paolo of Lost Pages on 10/11/2023 in #d1-database
can I have a look at the toml file also
of value anyway
32 replies
CDCloudflare Developers
•Created by Paolo of Lost Pages on 10/11/2023 in #d1-database
can I have a look at the toml file also
theres nothing in it
32 replies
CDCloudflare Developers
•Created by Paolo of Lost Pages on 10/11/2023 in #d1-database
can I have a look at the toml file also
wrangler pages dev --compatibility-date=2023-01-01 ./pages --kv=KV --d1=DB
32 replies