discourse/spec/fixtures/db/migrate
Alan Guo Xiang Tan 02b8aa6096
DEV: Protection for migrations that creates index concurrently take 2 (#31792)
This is a follow up to 6820622467.

This commit addresses migrations that uses `remove_index` with the
`if_exists: true` option to drop an existing index before creating an
index using the `concurrently` option.

This commit also reruns two migration which may have caused indexes to
be left in an `invalid` state.

### Reviewers Note

Plugin tests are failing due to
https://github.com/discourse/discourse-translator/pull/251
2025-03-17 08:25:30 +08:00
..
create_index_concurrently_safe DEV: Protection for migrations that creates index concurrently take 2 (#31792) 2025-03-17 08:25:30 +08:00
create_index_concurrently_safe_activerecord DEV: Protection for migrations that creates index concurrently take 2 (#31792) 2025-03-17 08:25:30 +08:00
create_index_concurrently_unsafe DEV: Add protection for migrations that creates index concurrently (#31763) 2025-03-13 09:34:14 +08:00
drop_not_null DEV: Upgrade Rails to version 7.2 2024-11-27 10:48:47 +01:00
drop_table DEV: Upgrade Rails to version 7.2 2024-11-27 10:48:47 +01:00
remove_column DEV: Upgrade Rails to version 7.2 2024-11-27 10:48:47 +01:00
rename_column DEV: Upgrade Rails to version 7.2 2024-11-27 10:48:47 +01:00
rename_table DEV: Upgrade Rails to version 7.2 2024-11-27 10:48:47 +01:00