My feedback ``` # This will yell Unknown argument: local wrangler d1 create SUBSCRIPTIONS --local #

My feedback
# This will yell Unknown argument: local
wrangler d1 create SUBSCRIPTIONS --local

# That's OK, it's local by default so I try
wrangler d1 create SUBSCRIPTIONS

# Then migrate...
wrangler d1 migrations apply SUBSCRIPTIONS

# Then run the app and got...
Uncaught (async) Error: D1_ERROR: Error: SqliteError: no such table: Subscriptions

# So i realized that I will need --local for migration (Took me an hour)
wrangler d1 migrations apply SUBSCRIPTIONS --local

So some is needed
--local
some is not. My expectation is all should default to
--local
and
--remote
when needed.
# local
wrangler d1 create SUBSCRIPTIONS
wrangler d1 migrations apply SUBSCRIPTIONS

# remote
wrangler d1 create SUBSCRIPTIONS --remote
wrangler d1 migrations apply SUBSCRIPTIONS --remote

Would be nicer.
Was this page helpful?