haikuwebkit/Websites
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
..
browserbench.org Release MotionMark 1.2!!! 🎉 2021-06-07 21:20:34 +00:00
bugs.webkit.org Bugzilla needs to linkify identifiers (Part 2) 2021-04-27 15:34:44 +00:00
perf.webkit.org Use bigint for 'commit_order' field in 'commits' table to support larger range. 2021-07-21 11:35:17 +00:00
planet.webkit.org
webkit.org WebKit nighly archives page not working for Big Sur 2021-02-17 19:57:23 +00:00
.gitattributes