Files
coder/coderd/database/migrations
dylanhuff-at-coder 66dca90c91 fix(coderd/database/migrations): renumber the workspace_app_stats index migration to 000641 (#31997)
#31766 and #31748 both added a `000640` migration and both merged, so
main currently has two migrations with the same number. Migrations fail
to load with `duplicate migration file:
000640_workspace_app_stats_session_ended_at_idx.down.sql`, which breaks
every test that sets up a database.

This moves the `workspace_app_stats` index to `000641`. It's a rename
only and `dump.sql` regenerates unchanged. `go test
./coderd/database/migrations/...` and the insights and dbrollup tests
pass with it.

Part of [CORE-439](https://linear.app/codercom/issue/CORE-439).
2026-11-10 16:39:19 +00:00
..
2022-11-14 17:57:33 +00:00