Files
fleet/server/datastore
Jonathan Katz 62051cd58a Use tablewriter package in DumpTable util (#38801)
<!-- Add the related story/sub-task/bug number, like Resolves #123, or
remove if NA -->
**Related issue:** Resolves #
Adds `olekukonko/tablewriter` to the the mysql.DumpTable testing util,
for easier reading of tables with many columns.
Could potentially look worse in some situations, but in my opinion adds
more clarity overall.

### Example
```
    testing_utils.go:519: >> dumping table in_house_apps:
    testing_utils.go:533: [id title_id team_id global_or_team_id filename version storage_id created_at updated_at platform bundle_identifier self_service url]
    testing_utils.go:546: 1	1	1	1	foo.ipa	1.2.3	testingtesting123	2026-01-26T19:21:19Z	2026-01-26T19:21:19Z	ipados	com.foo	0
    testing_utils.go:546: 2	2	1	1	foo.ipa	1.2.3	testingtesting123	2026-01-26T19:21:19Z	2026-01-26T19:21:19Z	ios	com.foo	0
    testing_utils.go:549: << dumping table in_house_apps completed
    testing_utils.go:519: >> dumping table software_titles:
    testing_utils.go:533: [id name source extension_for bundle_identifier additional_identifier is_kernel application_id unique_identifier upgrade_code]
    testing_utils.go:546: 1	foo	ipados_apps		com.foo	2	0	NULL	com.foo	NULL
    testing_utils.go:546: 2	foo	ios_apps		com.foo	1	0	NULL	com.foo	NULL
    testing_utils.go:549: << dumping table software_titles completed
```

```
    testing_utils.go:521: >> dumping table in_house_apps:
    testing_utils.go:569:
        +----+----------+---------+-------------------+----------+---------+-------------------+----------------------+----------------------+----------+-------------------+--------------+-----+
        | id | title_id | team_id | global_or_team_id | filename | version | storage_id        | created_at           | updated_at           | platform | bundle_identifier | self_service | url |
        +----+----------+---------+-------------------+----------+---------+-------------------+----------------------+----------------------+----------+-------------------+--------------+-----+
        | 1  | 1        | 1       | 1                 | foo.ipa  | 1.2.3   | testingtesting123 | 2026-01-26T20:36:52Z | 2026-01-26T20:36:52Z | ipados   | com.foo           | 0            |     |
        | 2  | 2        | 1       | 1                 | foo.ipa  | 1.2.3   | testingtesting123 | 2026-01-26T20:36:52Z | 2026-01-26T20:36:52Z | ios      | com.foo           | 0            |     |
        +----+----------+---------+-------------------+----------+---------+-------------------+----------------------+----------------------+----------+-------------------+--------------+-----+
    testing_utils.go:552: << dumping table in_house_apps completed
    testing_utils.go:521: >> dumping table software_titles:
    testing_utils.go:569:
        +----+------+-------------+---------------+-------------------+-----------------------+-----------+----------------+-------------------+--------------+
        | id | name | source      | extension_for | bundle_identifier | additional_identifier | is_kernel | application_id | unique_identifier | upgrade_code |
        +----+------+-------------+---------------+-------------------+-----------------------+-----------+----------------+-------------------+--------------+
        | 1  | foo  | ipados_apps |               | com.foo           | 2                     | 0         | NULL           | com.foo           | NULL         |
        | 2  | foo  | ios_apps    |               | com.foo           | 1                     | 0         | NULL           | com.foo           | NULL         |
        +----+------+-------------+---------------+-------------------+-----------------------+-----------+----------------+-------------------+--------------+
    testing_utils.go:552: << dumping table software_titles completed
```
2026-01-27 09:57:53 -05:00
..
2025-11-07 16:19:25 -06:00