Like with the new DO SQLite storage?
Like with the new DO SQLite storage?
D1.getById function
migrations folder do have some unapplied .sql files, but it fails to find themdatabase_id of remote database in [[d1_databases]] section. I thought, when we supply --remote parater, it picks the [[env.production.d1_databases]] section. I am struggling to understand wrangler.toml file structure.npx drizzle-kit push command. Anyone know what's going on?

D1.getById[[d1_databases]]
binding = "DB"
database_name = "name-db"
database_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
preview_database_id = "LOCAL-MY-DB" # Required for Pages local development
migrations_dir = "migrations"
[vars]
[[env.production.d1_databases]]
binding = "DB"
database_name = "name-db"
database_id = "8someguid63a"
migrations_dir = "migrations"migrations .sqldatabase_id[[d1_databases]][[env.production.d1_databases]]wrangler.tomlnpx drizzle-kit push[✓] Pulling schema from database...
Error: 7500: not authorized: SQLITE_AUTH