focalboard/server/services/store/sqlstore
Miguel de la Cruz 19ef6533f6
Adds data migration to clean badly assigned boards (#3635)
* Adds data migration to clean badly assigned boards

This data migration fetches all boards whose owner has a deleted
membership on the board's team and fixes them by processing them
again, this time with the fix applied to the `getBestTeamForBoard`
function that skips deleted teams and team memberships

* Do not create a transaction if there are no offending boards found

* Fix linter
2022-08-11 09:22:32 -06:00
..
migrations Persist category state (#3579) 2022-08-08 14:55:47 -06:00
blocks.go don't copy 'comment' blocks (#3267) 2022-06-22 15:57:27 -06:00
board.go GH-3564: Change boards search to "all" words (#3622) 2022-08-10 14:49:30 +05:30
board_insights.go [MM-43781] Feature: boards insights (#3005) 2022-08-08 11:42:02 +05:30
boards_and_blocks.go don't copy 'comment' blocks (#3267) 2022-06-22 15:57:27 -06:00
category.go Persist category state (#3579) 2022-08-08 14:55:47 -06:00
category_boards.go Updated update category-board mapping method to not rely on DB returning affected rows (#2840) 2022-04-20 09:21:53 -06:00
cloud.go Adds limits implementation to the server (#3213) 2022-06-15 12:17:44 +02:00
data_migrations.go Adds data migration to clean badly assigned boards (#3635) 2022-08-11 09:22:32 -06:00
data_migrations_test.go Permissions feature branch (#2578) 2022-03-22 08:24:34 -06:00
data_retention.go Implement Boards Data Retention - Take 2 (#2859) 2022-04-25 12:58:08 -06:00
file.go Forward-porting fileinfo limits (#3164) 2022-06-13 13:35:42 +05:30
helpers_test.go Permissions feature branch (#2578) 2022-03-22 08:24:34 -06:00
legacy_blocks.go Adds data migration to clean badly assigned boards (#3635) 2022-08-11 09:22:32 -06:00
migrate.go Adds data migration to clean badly assigned boards (#3635) 2022-08-11 09:22:32 -06:00
migrate_test.go Fix MySQL migration connection when the DSN doesn't contain any query parameters (#557) 2021-06-11 11:18:11 +02:00
notificationhints.go Standardize err not found (#2834) 2022-04-20 11:02:12 -04:00
params.go Multi product architecture (#3381) 2022-07-18 13:21:57 -04:00
public_methods.go [MM-43781] Feature: boards insights (#3005) 2022-08-08 11:42:02 +05:30
session.go Adds a generator that wraps store methods with transactions and migrates implementations to use transactions (#1440) 2021-10-22 12:48:53 +02:00
sharing.go Permissions feature branch (#2578) 2022-03-22 08:24:34 -06:00
sqlstore.go [MM-43781] Feature: boards insights (#3005) 2022-08-08 11:42:02 +05:30
sqlstore_test.go Persist category state (#3579) 2022-08-08 14:55:47 -06:00
subscriptions.go Standardize err not found (#2834) 2022-04-20 11:02:12 -04:00
system.go Standardize err not found (#2834) 2022-04-20 11:02:12 -04:00
team.go Permissions feature branch (#2578) 2022-03-22 08:24:34 -06:00
templates.go GH-2745 Don't init default templates when unit testing (#2748) 2022-04-08 13:46:16 +02:00
user.go [MM-43781] Feature: boards insights (#3005) 2022-08-08 11:42:02 +05:30
util.go Adds limits implementation to the server (#3213) 2022-06-15 12:17:44 +02:00