Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert use of larger primary-key fields for big tables #856

Merged
merged 1 commit into from
Nov 17, 2022

Conversation

noliveleger
Copy link
Contributor

@noliveleger noliveleger commented Nov 17, 2022

Description

PostgreSQL integer field has enough room (so far) to support the max id used by KoboToolbox python apps.

Additional infos

ref: #762 (comment)
The migration takes too long on big database causing unexpected downtime.

Internal discussion: https://chat.kobotoolbox.org/#narrow/stream/4-Kobo-Dev/topic/2.2E022.2E44.20Release/near/175974

Related issues

We should close #762

@noliveleger noliveleger force-pushed the revert-big-auto-field branch from 59df648 to ee4a13c Compare November 17, 2022 16:47
@noliveleger noliveleger marked this pull request as ready for review November 17, 2022 17:38
@noliveleger noliveleger changed the title WIP - refactor migrations Revert use of larger primary-key fields for big tables Nov 17, 2022
@noliveleger noliveleger requested a review from jnm November 17, 2022 17:41
@jnm jnm merged commit 44a017a into release/2.022.44 Nov 17, 2022
@jnm jnm deleted the revert-big-auto-field branch November 17, 2022 19:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants