focalboard/server/services/store
Miguel de la Cruz e7c38c8822
Adds data migrations and the unique IDs migration (#1776)
* Adds data migrations and the unique IDs migration

* Adds GetSystemSetting tests

* Add log statements to data migrations

* Move migrations to the store and ensure they follow an order mixing database and data migrations

* Fix system settings

* Add tests for unique id migration

* Small comment change

* Make a couple of methods private and wrap the migration in a transaction

* Update public methods

* Add database mutex to data migrations

* Create server params and pass a mutex factory to the store

* Fix plugin linter

* Make isPlugin private

* Fix comment typo

Co-authored-by: Doug Lauder <wiggin77@warpmail.net>

Co-authored-by: Doug Lauder <wiggin77@warpmail.net>
2021-11-11 17:01:43 +01:00
..
generators Adds a generator that wraps store methods with transactions and migrates implementations to use transactions (#1440) 2021-10-22 12:48:53 +02:00
mattermostauthlayer use milliseconds for all timestamps (server) (#1447) 2021-10-07 07:51:01 -04:00
mockstore Adds data migrations and the unique IDs migration (#1776) 2021-11-11 17:01:43 +01:00
sqlstore Adds data migrations and the unique IDs migration (#1776) 2021-11-11 17:01:43 +01:00
storetests Adds data migrations and the unique IDs migration (#1776) 2021-11-11 17:01:43 +01:00
store.go Adds data migrations and the unique IDs migration (#1776) 2021-11-11 17:01:43 +01:00