focalboard/server/services/store/sqlstore
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
..
initializations use milliseconds for all timestamps (server) (#1447) 2021-10-07 07:51:01 -04:00
migrations Removed nullability of block created by and modified by fields: (#1603) 2021-10-25 19:50:38 +05:30
blocks.go Adds data migrations and the unique IDs migration (#1776) 2021-11-11 17:01:43 +01:00
data_migrations.go Adds data migrations and the unique IDs migration (#1776) 2021-11-11 17:01:43 +01:00
data_migrations_test.go Adds data migrations and the unique IDs migration (#1776) 2021-11-11 17:01:43 +01:00
helpers_test.go Adds data migrations and the unique IDs migration (#1776) 2021-11-11 17:01:43 +01:00
initialize.go typed block type (#1672) 2021-10-26 21:11:19 -04:00
migrate.go Adds data migrations and the unique IDs migration (#1776) 2021-11-11 17:01:43 +01: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
params.go Adds data migrations and the unique IDs migration (#1776) 2021-11-11 17:01:43 +01:00
public_methods.go Adds data migrations and the unique IDs migration (#1776) 2021-11-11 17:01:43 +01:00
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 Adds a generator that wraps store methods with transactions and migrates implementations to use transactions (#1440) 2021-10-22 12:48:53 +02:00
sqlstore.go Adds data migrations and the unique IDs migration (#1776) 2021-11-11 17:01:43 +01:00
sqlstore_test.go Adds data migrations and the unique IDs migration (#1776) 2021-11-11 17:01:43 +01:00
system.go Adds data migrations and the unique IDs migration (#1776) 2021-11-11 17:01:43 +01:00
user.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
util.go Replace mlog with server v6 mlog (#1088) 2021-08-25 16:08:01 -04:00
workspaces.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