framework/migrations
Ian Morland 557fc2cd39 Include updating of scoped tag permissions
Addresses https://github.com/flarum/core/issues/2924

The rename `viewDiscussions` migration introduced for Flarum 1.0 does not take tag scoped permissions into account
e92c267cde/migrations/2021_05_10_000000_rename_permissions.php (L17)

This adds a new migration to additionally rename `tagX.viewDiscussions` to `tagX.viewForum`

Tested locally on an upgrade from core `beta.16` to `1.0.3`
2021-06-28 11:58:23 +02:00
..
2015_02_24_000000_create_access_tokens_table.php Apply fixes from StyleCI 2019-11-28 00:16:50 +00:00
2015_02_24_000000_create_api_keys_table.php Apply fixes from StyleCI 2019-11-28 00:16:50 +00:00
2015_02_24_000000_create_config_table.php Apply fixes from StyleCI 2019-11-28 00:16:50 +00:00
2015_02_24_000000_create_discussions_table.php Apply fixes from StyleCI 2019-11-28 00:16:50 +00:00
2015_02_24_000000_create_email_tokens_table.php Apply fixes from StyleCI 2019-11-28 00:16:50 +00:00
2015_02_24_000000_create_groups_table.php Apply fixes from StyleCI 2019-11-28 00:16:50 +00:00
2015_02_24_000000_create_notifications_table.php Apply fixes from StyleCI 2019-11-28 00:16:50 +00:00
2015_02_24_000000_create_password_tokens_table.php Apply fixes from StyleCI 2019-11-28 00:16:50 +00:00
2015_02_24_000000_create_permissions_table.php Apply fixes from StyleCI 2019-11-28 00:16:50 +00:00
2015_02_24_000000_create_posts_table.php Remove MyISAM Requirement (#2442) 2021-04-09 08:13:47 -04:00
2015_02_24_000000_create_users_discussions_table.php Apply fixes from StyleCI 2019-11-28 00:16:50 +00:00
2015_02_24_000000_create_users_groups_table.php Apply fixes from StyleCI 2019-11-28 00:16:50 +00:00
2015_02_24_000000_create_users_table.php Don't create user bio column on new installations (#2215) 2020-07-01 17:31:52 -04:00
2015_09_15_000000_create_auth_tokens_table.php Apply fixes from StyleCI 2019-11-28 00:16:50 +00:00
2015_09_20_224327_add_hide_to_discussions.php Apply fixes from StyleCI 2019-11-28 00:16:50 +00:00
2015_09_22_030432_rename_notification_read_time.php Apply fixes from StyleCI 2019-11-28 00:16:50 +00:00
2015_10_07_130531_rename_config_to_settings.php Apply fixes from StyleCI 2019-11-28 00:16:50 +00:00
2015_10_24_194000_add_ip_address_to_posts.php Apply fixes from StyleCI 2019-11-28 00:16:50 +00:00
2015_12_05_042721_change_access_tokens_columns.php Apply fixes from StyleCI 2019-11-28 00:16:50 +00:00
2015_12_17_194247_change_settings_value_column_to_text.php Apply fixes from StyleCI 2019-11-28 00:16:50 +00:00
2016_02_04_095452_add_slug_to_discussions.php Use Laravel's slugger for basic transliteration 2020-01-24 17:40:09 +01:00
2017_04_07_114138_add_is_private_to_discussions.php Apply fixes from StyleCI 2019-11-28 00:16:50 +00:00
2017_04_07_114138_add_is_private_to_posts.php Apply fixes from StyleCI 2019-11-28 00:16:50 +00:00
2018_01_11_093900_change_access_tokens_columns.php Apply fixes from StyleCI 2019-11-28 00:16:50 +00:00
2018_01_11_094000_change_access_tokens_add_foreign_keys.php Apply fixes from StyleCI 2019-11-28 00:16:50 +00:00
2018_01_11_095000_change_api_keys_columns.php Apply fixes from StyleCI 2019-11-28 00:16:50 +00:00
2018_01_11_101800_rename_auth_tokens_to_registration_tokens.php Apply fixes from StyleCI 2019-11-28 00:16:50 +00:00
2018_01_11_102000_change_registration_tokens_rename_id_to_token.php Apply fixes from StyleCI 2019-11-28 00:16:50 +00:00
2018_01_11_102100_change_registration_tokens_created_at_to_datetime.php Apply fixes from StyleCI 2019-11-28 00:16:50 +00:00
2018_01_11_120604_change_posts_table_to_innodb.php Apply fixes from StyleCI 2019-11-28 00:16:50 +00:00
2018_01_11_155200_change_discussions_rename_columns.php Apply fixes from StyleCI 2019-11-28 00:16:50 +00:00
2018_01_11_155300_change_discussions_add_foreign_keys.php Apply fixes from StyleCI 2019-11-28 00:16:50 +00:00
2018_01_15_071700_rename_users_discussions_to_discussion_user.php Apply fixes from StyleCI 2019-11-28 00:16:50 +00:00
2018_01_15_071800_change_discussion_user_rename_columns.php Apply fixes from StyleCI 2019-11-28 00:16:50 +00:00
2018_01_15_071900_change_discussion_user_add_foreign_keys.php Apply fixes from StyleCI 2019-11-28 00:16:50 +00:00
2018_01_15_072600_change_email_tokens_rename_id_to_token.php Apply fixes from StyleCI 2019-11-28 00:16:50 +00:00
2018_01_15_072700_change_email_tokens_add_foreign_keys.php Apply fixes from StyleCI 2019-11-28 00:16:50 +00:00
2018_01_15_072800_change_email_tokens_created_at_to_datetime.php Apply fixes from StyleCI 2019-11-28 00:16:50 +00:00
2018_01_18_130400_rename_permissions_to_group_permission.php Apply fixes from StyleCI 2019-11-28 00:16:50 +00:00
2018_01_18_130500_change_group_permission_add_foreign_keys.php Apply fixes from StyleCI 2019-11-28 00:16:50 +00:00
2018_01_18_130600_rename_users_groups_to_group_user.php Apply fixes from StyleCI 2019-11-28 00:16:50 +00:00
2018_01_18_130700_change_group_user_add_foreign_keys.php Apply fixes from StyleCI 2019-11-28 00:16:50 +00:00
2018_01_18_133000_change_notifications_columns.php Apply fixes from StyleCI 2019-11-28 00:16:50 +00:00
2018_01_18_133100_change_notifications_add_foreign_keys.php Apply fixes from StyleCI 2019-11-28 00:16:50 +00:00
2018_01_18_134400_change_password_tokens_rename_id_to_token.php Apply fixes from StyleCI 2019-11-28 00:16:50 +00:00
2018_01_18_134500_change_password_tokens_add_foreign_keys.php Apply fixes from StyleCI 2019-11-28 00:16:50 +00:00
2018_01_18_134600_change_password_tokens_created_at_to_datetime.php Apply fixes from StyleCI 2019-11-28 00:16:50 +00:00
2018_01_18_135000_change_posts_rename_columns.php Apply fixes from StyleCI 2019-11-28 00:16:50 +00:00
2018_01_18_135100_change_posts_add_foreign_keys.php Apply fixes from StyleCI 2019-11-28 00:16:50 +00:00
2018_01_30_112238_add_fulltext_index_to_discussions_title.php Apply fixes from StyleCI 2019-11-28 00:16:50 +00:00
2018_01_30_220100_create_post_user_table.php Apply fixes from StyleCI 2019-11-28 00:16:50 +00:00
2018_01_30_222900_change_users_rename_columns.php Apply fixes from StyleCI 2019-11-28 00:16:50 +00:00
2018_07_21_000100_seed_default_group_permissions.php Rename viewDiscussions => viewForum, viewUserList => searchUsers (#2854) 2021-05-11 15:15:27 -04:00
2018_07_21_000000_seed_default_groups.php Apply fixes from StyleCI 2019-11-28 00:16:50 +00:00
2018_09_15_041340_add_users_indicies.php Apply fixes from StyleCI 2019-11-28 00:16:50 +00:00
2018_09_15_041828_add_discussions_indicies.php Apply fixes from StyleCI 2019-11-28 00:16:50 +00:00
2018_09_15_043337_add_notifications_indices.php Apply fixes from StyleCI 2019-11-28 00:16:50 +00:00
2018_09_15_043621_add_posts_indices.php Apply fixes from StyleCI 2019-11-28 00:16:50 +00:00
2018_09_22_004100_change_registration_tokens_columns.php Apply fixes from StyleCI 2019-11-28 00:16:50 +00:00
2018_09_22_004200_create_login_providers_table.php Apply fixes from StyleCI 2019-11-28 00:16:50 +00:00
2018_10_08_144700_add_shim_prefix_to_group_icons.php Apply fixes from StyleCI 2019-11-28 00:16:50 +00:00
2019_10_12_195349_change_posts_add_discussion_foreign_key.php Apply fixes from StyleCI 2019-11-28 00:16:50 +00:00
2020_03_19_134512_change_discussions_default_comment_count.php Change default discussion comment count 2020-04-08 01:13:52 +02:00
2020_04_21_130500_change_permission_groups_add_is_hidden.php Implement hidden permission groups (#2129) 2020-04-21 17:49:53 +02:00
2021_03_02_040000_change_access_tokens_add_type.php Refactor Access Tokens (#2651) 2021-03-04 16:50:38 -05:00
2021_03_02_040500_change_access_tokens_add_id.php Refactor Access Tokens (#2651) 2021-03-04 16:50:38 -05:00
2021_03_02_041000_change_access_tokens_add_title_ip_agent.php Refactor Access Tokens (#2651) 2021-03-04 16:50:38 -05:00
2021_04_18_040500_change_migrations_add_id_primary_key.php Add id to migrations table (#2794) 2021-04-19 10:35:21 -04:00
2021_04_18_145100_change_posts_content_column_to_mediumtext.php Rename relevant migration so it runs again (#2793) 2021-04-19 14:14:07 -04:00
2021_05_10_000000_rename_permissions.php Include updating of scoped tag permissions 2021-06-28 11:58:23 +02:00
install.dump Revert "Revert "Squash core migrations (#2842)"" 2021-05-31 15:49:20 +02:00