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

Update schema and add migrations for mysql and pgsql #273

Merged
merged 2 commits into from
Mar 1, 2024

Conversation

brandond
Copy link
Member

@brandond brandond commented Feb 6, 2024

Extends id column to bigint for new databases.

Existing databases will be migrated if the KINE_SCHEMA_MIGRATION environment variable is set to 1 or higher.

pkg/drivers/mysql/mysql.go Outdated Show resolved Hide resolved
@brandond brandond force-pushed the bigint_id branch 2 times, most recently from 77bc86d to be0caf0 Compare February 10, 2024 01:00
Extends id column to bigint for new databases.

Existing databases will be migrated if the KINE_SCHEMA_MIGRATION environment variable is set to 1 or higher.

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
@brandond brandond merged commit 540ea9e into k3s-io:master Mar 1, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants