# The newest migration. Every PR that adds a migration changes the line # below, so two such PRs conflict in git instead of merging into a # duplicate migration number. create_migration.sh and # fix_migration_numbers.sh keep it up to date, and # scripts/check_migrations_latest.sh checks it. # # If this file conflicts, another migration merged first. Merge main into # your branch, then run this while the conflict is still open: # # ./coderd/database/migrations/fix_migration_numbers.sh # # It renumbers your migrations if their numbers are taken, rewrites this # file, and stages the result. # # Do not run it at a rebase stop. On a branch with more than one migration # commit it can leave duplicate numbers or swap the migration order. At # each rebase stop, and for a cherry-pick, backport, or revert, run these # instead: # # ./scripts/check_migrations_latest.sh --write # git add coderd/database/migrations/LATEST # # After a rebase finishes, run fix_migration_numbers.sh once and commit # the result. 000648_chat_diff_statuses_root_chats