* Unify and enhance block validation (#4790)
* Adds limit check for block titles
* Adds limit check for the aggregation of the fields
* Fix linter
* Adds tests
* Fix err check method order
* Updates import to read with a scanner (#4788)
* Updates import to read with a scanner
* Fix linter
* Fix migration test
* WIP
* Added migrations
* Updating store method
* WIP
* WIP
* Updated DND
* WIP
* WIP
* WIP
* WIP
* WIP
* wip
* WIP
* Adding new DB tool
* Used migration functions in new migrations
* Unique constraint migration
* Unique constraint migration
* Added SQLITE migrations
* Added SQLITE support in few more migrations
* Added SQLITE support in few more migrations
* WIP
* Used old-fashioned way to add unique constraint
* Using oldsqlite method
* Using oldsqlite method
* Fixed all store and app layer tests
* fixed integration tests
* test and lint fix
* Updated migration for MySQL and Postgres on personal server
* Types fix
* sqlite fix
* fix typo
* misc cleanup
* added new tests
* added new tests
* de-duping input for postgres
* integration tests, rmeoved uneeded migration
* Added some migration tests
* Added some migration tests
* Fixed a test
* completed migration tests
* completed migration tests
* Removed leftover debug statements
Co-authored-by: Mattermost Build <build@mattermost.com>
* Added handling of duplicate key conflicts
* Added a test
* Add value checks and fix username for the test
Co-authored-by: Miguel de la Cruz <miguel@mcrx.me>