haikuwebkit/Websites/perf.webkit.org/server-tests
Dewei Zhu 41d205c69e Use bigint for 'commit_order' field in 'commits' table to support larger range.
https://bugs.webkit.org/show_bug.cgi?id=228133

Reviewed by Ryosuke Niwa.

'integer' in postgres has range from -2147483648 to +2147483647 which is not big enough.
Use 'bigint' to support wider range (-9223372036854775808 to 9223372036854775807).
SQL query for migration:
    `ALTER TABLE commits ALTER commit_order TYPE bigint;`

* init-database.sql: Update 'integer' to 'bigint' for 'commit_order'.
* migrate-database.sql: Added migration SQL for this change.
* server-tests/api-report-commits-tests.js: Add a unit test.

Canonical link: https://commits.webkit.org/239837@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@280127 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-07-21 11:35:17 +00:00
..
resources [perf dashboard] Add sequential mode for perf dashboard A/B testing. 2021-05-26 01:23:22 +00:00
admin-platforms-tests.js Make server test run with new node version 2021-03-06 14:31:56 +00:00
admin-reprocess-report-tests.js Make server test run with new node version 2021-03-06 14:31:56 +00:00
api-build-requests-tests.js [perf dashboard] Add sequential mode for perf dashboard A/B testing. 2021-05-26 01:23:22 +00:00
api-commits-tests.js Add commit revision label support 2021-04-01 00:50:11 +00:00
api-manifest-tests.js Make server test run with new node version 2021-03-06 14:31:56 +00:00
api-measurement-set-tests.js Support Commit revision identifier in the Chart 2021-04-15 03:06:39 +00:00
api-report-commits-tests.js Use bigint for 'commit_order' field in 'commits' table to support larger range. 2021-07-21 11:35:17 +00:00
api-report-tests.js Add commit revision label support 2021-04-01 00:50:11 +00:00
api-test-groups.js [perf dashboard] Remove non-inclusive words from perf dashboard. 2021-03-22 21:23:38 +00:00
api-update-triggerable-tests.js [perf dashboard] Remove non-inclusive words from perf dashboard. 2021-03-22 21:23:38 +00:00
api-upload-root-tests.js [perf dashboard] Add sequential mode for perf dashboard A/B testing. 2021-05-26 01:23:22 +00:00
api-uploaded-file-tests.js Make server test run with new node version 2021-03-06 14:31:56 +00:00
privileged-api-add-build-requests-tests.js [perf dashboard] Add sequential mode for perf dashboard A/B testing. 2021-05-26 01:23:22 +00:00
privileged-api-create-analysis-task-tests.js [perf dashboard] Add sequential mode for perf dashboard A/B testing. 2021-05-26 01:23:22 +00:00
privileged-api-create-test-group-tests.js [perf dashboard] Add sequential mode for perf dashboard A/B testing. 2021-05-26 01:23:22 +00:00
privileged-api-upate-run-status.js Make server test run with new node version 2021-03-06 14:31:56 +00:00
privileged-api-update-test-group-tests.js [perf dashboard] Add sequential mode for perf dashboard A/B testing. 2021-05-26 01:23:22 +00:00
privileged-api-upload-file-tests.js Make server test run with new node version 2021-03-06 14:31:56 +00:00
tools-buildbot-triggerable-tests.js [perf dashboard] Add sequential mode for perf dashboard A/B testing. 2021-05-26 01:23:22 +00:00
tools-os-build-fetcher-tests.js [perf dashboard] Remove non-inclusive words from perf dashboard. 2021-03-22 21:23:38 +00:00
tools-sync-buildbot-integration-tests.js [perf dashboard] Add sequential mode for perf dashboard A/B testing. 2021-05-26 01:23:22 +00:00