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

Feature/convert local realm #5136

Merged
merged 19 commits into from
Jan 12, 2022
Merged

Feature/convert local realm #5136

merged 19 commits into from
Jan 12, 2022

Conversation

jedelbo
Copy link
Contributor

@jedelbo jedelbo commented Jan 6, 2022

What, How & Why?

"Convert local to synced realm" feature

Fixes #5018

☑️ ToDos

  • 📝 Changelog update
  • 🚦 Tests (or not relevant)

@cla-bot cla-bot bot added the cla: yes label Jan 6, 2022
@jedelbo jedelbo requested a review from ironage January 6, 2022 08:03
@bmunkholm
Copy link
Contributor

bmunkholm commented Jan 6, 2022

@jedelbo Please remember to link to the issue it resolves.

Copy link
Contributor

@ironage ironage left a comment

Choose a reason for hiding this comment

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

LGTM, also because this has been reviewed in pieces previously.

table->add_column_dictionary(type, name, col_key.is_nullable(), key_type);
}
else {
table->add_column(type, name, col_key.is_nullable());
Copy link
Contributor

Choose a reason for hiding this comment

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

can we add an index to the new column if it exists in the source table?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sure!

@jedelbo jedelbo merged commit 75e0adc into master Jan 12, 2022
@jedelbo jedelbo deleted the feature/convert-local-realm branch January 12, 2022 13:49
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support converting a local realm file to have sync history
3 participants