BookStack/database/migrations
Dan Brown 2d1f1abce4
Implemented alternate approach to current joint_permissions
Is a tweak upon the existing approach, mainly to store and query role
permission access in a way that allows muli-level states that may
override eachother. These states are represented in the new PermissionStatus
class.

This also simplifies how own permissions are stored and queried, to be
part of a single column.
2023-01-24 14:55:34 +00:00
..
.gitkeep Initial commit 2015-07-12 20:01:42 +01:00
2014_10_12_000000_create_users_table.php Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
2014_10_12_100000_create_password_resets_table.php Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
2015_07_12_114933_create_books_table.php Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
2015_07_12_190027_create_pages_table.php Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
2015_07_13_172121_create_images_table.php Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
2015_07_27_172342_create_chapters_table.php Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
2015_08_08_200447_add_users_to_entities.php Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
2015_08_09_093534_create_page_revisions_table.php Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
2015_08_16_142133_create_activities_table.php Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
2015_08_29_105422_add_roles_and_permissions.php Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
2015_08_30_125859_create_settings_table.php Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
2015_08_31_175240_add_search_indexes.php Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
2015_09_04_165821_create_social_accounts_table.php Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
2015_09_05_164707_add_email_confirmation_table.php Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
2015_11_21_145609_create_views_table.php Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
2015_11_26_221857_add_entity_indexes.php Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
2015_12_05_145049_fulltext_weighting.php Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
2015_12_07_195238_add_image_upload_types.php Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
2015_12_09_195748_add_user_avatars.php Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
2016_01_11_210908_add_external_auth_to_users.php Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
2016_02_25_184030_add_slug_to_revisions.php Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
2016_02_27_120329_update_permissions_and_roles.php Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
2016_02_28_084200_add_entity_access_controls.php Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
2016_03_09_203143_add_page_revision_types.php Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
2016_03_13_082138_add_page_drafts.php Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
2016_03_25_123157_add_markdown_support.php Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
2016_04_09_100730_add_view_permissions_to_roles.php Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
2016_04_20_192649_create_joint_permissions_table.php Applied style ci changes again 2021-09-26 15:49:25 +01:00
2016_05_06_185215_create_tags_table.php Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
2016_07_07_181521_add_summary_to_page_revisions.php Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
2016_09_29_101449_remove_hidden_roles.php Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
2016_10_09_142037_create_attachments_table.php Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
2017_01_21_163556_create_cache_table.php Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
2017_01_21_163602_create_sessions_table.php Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
2017_03_19_091553_create_search_index_table.php Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
2017_04_20_185112_add_revision_counts.php Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
2017_07_02_152834_update_db_encoding_to_ut8mb4.php Updated utfmb4 upgrade command 2017-07-22 16:19:17 +01:00
2017_08_01_130541_create_comments_table.php Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
2017_08_29_102650_add_cover_image_display.php Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
2018_07_15_173514_add_role_external_auth_id.php Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
2018_08_04_115700_create_bookshelves_table.php Reverted shift change to old migration 2021-11-04 22:38:55 +00:00
2019_07_07_112515_add_template_support.php Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
2019_08_17_140214_add_user_invites_table.php Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
2019_12_29_120917_add_api_auth.php Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
2020_08_04_111754_drop_joint_permissions_id.php Removed joint_permissions auto_increment id 2020-08-04 13:02:31 +01:00
2020_08_04_131052_remove_role_name_field.php Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
2020_09_19_094251_add_activity_indexes.php Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
2020_09_27_210059_add_entity_soft_deletes.php Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
2020_09_27_210528_create_deletions_table.php Started work on the recycle bin interface 2020-10-03 18:44:12 +01:00
2020_11_07_232321_simplify_activities_table.php Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
2020_12_30_173528_add_owned_by_field_to_entities.php Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
2021_01_30_225441_add_settings_type_column.php Updated footer links to be a configurable list 2021-01-31 00:23:15 +00:00
2021_03_08_215138_add_user_slug.php Updated hard-coded string lengths for indexed columns 2021-04-27 20:53:22 +01:00
2021_05_15_173110_create_favourites_table.php Started addition of favourite system 2021-05-16 00:29:56 +01:00
2021_06_30_173111_create_mfa_values_table.php Complete base flow for TOTP setup 2021-06-30 22:10:02 +01:00
2021_07_03_085038_add_mfa_enforced_to_roles_table.php Added role based MFA control 2021-07-03 13:34:48 +01:00
2021_08_28_161743_add_export_role_permission.php Cleaned up DB usage in migration 2021-08-28 21:55:04 +01:00
2021_09_26_044614_add_activities_ip_column.php Reviewed adding IP recording to activity & audit log 2021-09-26 17:18:12 +01:00
2021_11_26_070438_add_index_for_user_ip.php Update index name to 'activities_ip_index' 2021-12-10 14:50:04 +08:00
2021_12_07_111343_create_webhooks_table.php Added active toggle to webhooks 2021-12-12 17:39:06 +00:00
2021_12_13_152024_create_jobs_table.php Allowed database queue usage where desired 2021-12-13 18:34:18 +00:00
2021_12_13_152120_create_failed_jobs_table.php Allowed database queue usage where desired 2021-12-13 18:34:18 +00:00
2022_01_03_154041_add_webhooks_timeout_error_columns.php Added timeout and debugging statuses to webhooks 2022-01-03 19:42:48 +00:00
2022_04_17_101741_add_editor_change_field_and_permission.php Updated composer deps, applied latest StyleCI changes 2022-04-24 18:22:40 +01:00
2022_04_25_140741_update_polymorphic_types.php Applied latest StyleCI changes 2022-04-25 18:42:31 +01:00
2022_07_16_170051_drop_joint_permission_type.php Dropped use of non-view joint permissions 2022-07-16 21:50:42 +01:00
2022_08_17_092941_create_references_table.php Added reference storage system, and command to re-index 2022-08-17 14:40:14 +01:00
2022_09_02_082910_fix_shelf_cover_image_types.php Added a little protection to migration query 2022-09-08 12:26:14 +01:00
2022_10_07_091406_flatten_entity_permissions_table.php Migrated entity_permissions table to new flat format 2022-10-07 15:07:09 +01:00
2022_10_08_104202_drop_entity_restricted_field.php Added migration to drop entity restricted field 2022-10-08 15:30:03 +01:00
2023_01_24_104625_refactor_joint_permissions_storage.php Implemented alternate approach to current joint_permissions 2023-01-24 14:55:34 +00:00