That's what I mean. D1 is trying to apply the migration called 0002_create_position_table.sql but it
That's what I mean. D1 is trying to apply the migration called 0002_create_position_table.sql but it's already been applied so it fails.






wrangler.toml. Repeat the [[d1_databases]] section for each of your databases. That's defining an array, and each time you use it, it's an item in that array. The newer wrangler.json format makes that a bit easier to really understand though if you are not familiar with TOML syntax.[[d1_databases]]
binding = "DB_01"
database_name = "db-01"
database_id = "<unique-ID-for-your-database>"
[[d1_databases]]
binding = "DB_02"
database_name = "db-02"
database_id = "<unique-ID-for-your-database>"