discourse/lib/tasks
Sam 10001e4e8d
DEV: add db:validate_indexes task (#12273)
Added a new task to test if indexes are coherent with a blank database

This allows us to detect for cases where somehow indexes are out of sync

FIX_INDEXES=1 or `rake db:validate_indexes[fix]` to correct the issues it finds. 

Detects: 

- Badly named indexes that need to be renamed
- Missing indexes
- Extra indexes

Can correct all 3 with the fix option
2021-03-10 10:59:20 +11:00
..
add_topic_to_quotes.rake
admin.rake DEV: Rake task for creating admin should ask for full name if required (#11096) 2020-11-02 11:12:42 +01:00
api.rake
assets.rake FIX: correct cdn path (#11324) 2020-11-23 13:03:49 +11:00
auto_annotate_models.rake
autospec.rake
avatars.rake
backfill.thor
bookmarks.rake
build_test_topic.rake
build.rake
categories.rake
cdn.rake
db.rake DEV: add db:validate_indexes task (#12273) 2021-03-10 10:59:20 +11:00
destroy.rake
docker.rake REFACTOR: Move javascript tests inside discourse app 2020-10-02 11:29:36 -04:00
emails.rake FIX: emails.rake-use domain when sending mail test (#12188) 2021-02-23 14:16:51 -03:00
emoji.rake DEV: Remove JoyPixels emoji option (#12197) 2021-02-26 07:44:52 -05:00
export.rake
groups.rake
i18n.rake
images.rake
import.rake FEATURE: add new user option skip_new_user_tips. (#10437) 2020-08-14 19:10:56 +05:30
incoming_emails.rake
integration.rake
javascript.rake DEV: Add experimental json_scheme site setting type (#12226) 2021-03-01 09:15:17 -05:00
log.rake FIX: whoops, linting 2020-09-03 12:10:11 +01:00
maxminddb.rake
plugin.rake DEV: log rake plugin:update_all plugin_path on error (#12100) 2021-02-16 11:50:27 -08:00
populate.thor
posts.rake DEV: ensure 'posts:reorder_posts' rake task work on single topic 2020-08-04 14:57:49 +02:00
qunit.rake DEV: Use discourse/discourse_test in CI workflows 2021-02-11 15:24:15 +01:00
redis.rake
release_note.rake Include UI commits when generating release notes. (#12127) 2021-02-18 10:53:23 -05:00
rspec.rake
s3.rake
scheduler.rake
search.rake
site_settings.rake
smoke_test.rake Dev: --dev option does nothing in yarn (#12032) 2021-02-10 19:19:47 -05:00
svg_icons.rake
tags.rake
themes.rake FIX: Save updated remote theme, only update enabled themes/components (#11960) 2021-02-04 14:44:07 +11:00
topics.rake
turbo.rake
typepad.thor FIX: use allowlist and blocklist terminology (#10209) 2020-07-27 10:23:54 +10:00
uploads.rake DEV: Add security_last_changed_at and security_last_changed_reason to uploads (#11860) 2021-01-29 09:03:44 +10:00
users.rake