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

Adds SchemaChanger to perform database schema changes #1146

Merged
merged 4 commits into from
Jul 25, 2022

Conversation

jberkel
Copy link
Collaborator

@jberkel jberkel commented Jul 24, 2022

This is mostly based on code I had already written for a personal project, which I've been meaning to integrate into SQLite for a while now. As such, it already had a bit of testing, but not much.

Open questions: should this be in SQLite.swift, or in another project? Which cases are not covered yet? What methods should be made public?

Fixes #1073

@jberkel jberkel marked this pull request as ready for review July 24, 2022 00:49
Copy link
Collaborator

@nathanfallet nathanfallet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mainly moving things and making others public, LGTM

@nathanfallet
Copy link
Collaborator

Open questions: should this be in SQLite.swift, or in another project? Which cases are not covered yet? What methods should be made public?

It's a great thing to make it public, so that it's not implemented in each project, but only once, as it is standard in SQLite.

@nathanfallet nathanfallet merged commit ba32ad7 into master Jul 25, 2022
@nathanfallet nathanfallet deleted the schema-changer branch July 25, 2022 18:19
@jberkel
Copy link
Collaborator Author

jberkel commented Jul 25, 2022

@nathanfallet this wasn't meant to be merged yet, it's missing documentation, and some other bits

@nathanfallet
Copy link
Collaborator

@jberkel You marked it ready for review so I thought it was. I'm sorry for that. You can still publish the branch again and open a new PR for missing things.

@jberkel
Copy link
Collaborator Author

jberkel commented Jul 25, 2022

Ok, but I marked it as ready for review to get some feedback regarding the code, not to have it auto-merged!

@jberkel jberkel mentioned this pull request Jul 26, 2022
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.

Expose new schema alteration operations
2 participants