focalboard/server/services/store/sqlstore/migrations
Jesús Espino a4ef8ec6bc
Permissions integration tests (#2697)
* Initial permissions review infrastructure

* Adding more tests cases

* Modifying a bit the tests approach and adding more tests

* Adding more tests

* Adding more tests for permissions

* Adding more tests

* Adding more permissions tests

* Adding more tests

* Adding more permission checks

* Adding more permissions tests

* Adding more permission tests

* Adding more tests

* Adding subscriptions tests

* Adding more permissions tests

* Adding tests for read tokens in the files

* Update APIs and fix unit tests

* Fix linter errors

* Auto-assign category id from the database (as expected because is serial/auto_increment integer field)

* Revert "Auto-assign category id from the database (as expected because is serial/auto_increment integer field)"

This reverts commit 5c98fd76a3.

* Fixing Category scheme in postgres and MySQL

* Removing restriction about the channel_id and add it to all the databases

* Moving everything to a new migration

* Fix bad merge (?)

* Update 000021_fix_categories.up.sql

Fix Postgres ALTER COLUMN syntax

* Update 000021_fix_categories.down.sql

Fix Postgres ALTER COLUMN syntax

* Update 000021_fix_categories.up.sql

Remove unnecessary, and unsupported MODIFY COLUMNs for SQLite.

* Update 000021_fix_categories.up.sql

Remove not null from categories.channel_id

* Update 000021_fix_categories.down.sql

Migrate down removing not null from categories.channel_id

* Update 000021_fix_categories.up.sql

Fix drop not null on categories.channel_id

* Update 000021_fix_categories.down.sql

Fix down migration of drop not null from categories.channel_id.

* Restore default notification level to debug

Co-authored-by: Chen-I Lim <chenilim@gmail.com>
Co-authored-by: Chen-I Lim <46905241+chenilim@users.noreply.github.com>
2022-04-05 08:00:04 -07:00
..
000001_init.down.sql Permissions feature branch (#2578) 2022-03-22 08:24:34 -06:00
000001_init.up.sql Permissions feature branch (#2578) 2022-03-22 08:24:34 -06:00
000002_system_settings_table.down.sql Permissions feature branch (#2578) 2022-03-22 08:24:34 -06:00
000002_system_settings_table.up.sql Permissions feature branch (#2578) 2022-03-22 08:24:34 -06:00
000003_blocks_rootid.down.sql Permissions feature branch (#2578) 2022-03-22 08:24:34 -06:00
000003_blocks_rootid.up.sql Permissions feature branch (#2578) 2022-03-22 08:24:34 -06:00
000004_auth_table.down.sql Permissions feature branch (#2578) 2022-03-22 08:24:34 -06:00
000004_auth_table.up.sql Permissions feature branch (#2578) 2022-03-22 08:24:34 -06:00
000005_blocks_modifiedby.down.sql Permissions feature branch (#2578) 2022-03-22 08:24:34 -06:00
000005_blocks_modifiedby.up.sql Permissions feature branch (#2578) 2022-03-22 08:24:34 -06:00
000006_sharing_table.down.sql Permissions feature branch (#2578) 2022-03-22 08:24:34 -06:00
000006_sharing_table.up.sql Permissions feature branch (#2578) 2022-03-22 08:24:34 -06:00
000007_workspaces_table.down.sql Permissions feature branch (#2578) 2022-03-22 08:24:34 -06:00
000007_workspaces_table.up.sql Permissions feature branch (#2578) 2022-03-22 08:24:34 -06:00
000008_teams.down.sql Permissions feature branch (#2578) 2022-03-22 08:24:34 -06:00
000008_teams.up.sql Permissions feature branch (#2578) 2022-03-22 08:24:34 -06:00
000009_blocks_history.down.sql Permissions feature branch (#2578) 2022-03-22 08:24:34 -06:00
000009_blocks_history.up.sql Permissions feature branch (#2578) 2022-03-22 08:24:34 -06:00
000010_blocks_created_by.down.sql Permissions feature branch (#2578) 2022-03-22 08:24:34 -06:00
000010_blocks_created_by.up.sql Permissions feature branch (#2578) 2022-03-22 08:24:34 -06:00
000011_match_collation.down.sql Permissions feature branch (#2578) 2022-03-22 08:24:34 -06:00
000011_match_collation.up.sql Permissions feature branch (#2578) 2022-03-22 08:24:34 -06:00
000012_match_column_collation.down.sql Permissions feature branch (#2578) 2022-03-22 08:24:34 -06:00
000012_match_column_collation.up.sql Permissions feature branch (#2578) 2022-03-22 08:24:34 -06:00
000013_millisecond_timestamps.down.sql Permissions feature branch (#2578) 2022-03-22 08:24:34 -06:00
000013_millisecond_timestamps.up.sql Permissions feature branch (#2578) 2022-03-22 08:24:34 -06:00
000014_add_not_null_constraint.down.sql Permissions feature branch (#2578) 2022-03-22 08:24:34 -06:00
000014_add_not_null_constraint.up.sql Permissions feature branch (#2578) 2022-03-22 08:24:34 -06:00
000015_blocks_history_no_nulls.down.sql Permissions feature branch (#2578) 2022-03-22 08:24:34 -06:00
000015_blocks_history_no_nulls.up.sql Permissions feature branch (#2578) 2022-03-22 08:24:34 -06:00
000016_subscriptions_table.down.sql Permissions feature branch (#2578) 2022-03-22 08:24:34 -06:00
000016_subscriptions_table.up.sql Permissions feature branch (#2578) 2022-03-22 08:24:34 -06:00
000017_add_teams_and_boards.down.sql Permissions feature branch (#2578) 2022-03-22 08:24:34 -06:00
000017_add_teams_and_boards.up.sql Migrate DM and private group message boards to a team (#2557) 2022-03-25 17:21:56 -06:00
000018_populate_categories.down.sql Permissions feature branch (#2578) 2022-03-22 08:24:34 -06:00
000018_populate_categories.up.sql Permissions integration tests (#2697) 2022-04-05 08:00:04 -07:00
000019_populate_category_blocks.down.sql Permissions feature branch (#2578) 2022-03-22 08:24:34 -06:00
000019_populate_category_blocks.up.sql Permissions feature branch (#2578) 2022-03-22 08:24:34 -06:00
000020_create_boards_members_history.down.sql Add Members History support (#2595) 2022-03-29 10:17:19 +02:00
000020_create_boards_members_history.up.sql Add Members History support (#2595) 2022-03-29 10:17:19 +02:00
000021_fix_categories.down.sql Permissions integration tests (#2697) 2022-04-05 08:00:04 -07:00
000021_fix_categories.up.sql Permissions integration tests (#2697) 2022-04-05 08:00:04 -07:00