-
Notifications
You must be signed in to change notification settings - Fork 428
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
Mnesia migration #2561
base: master
Are you sure you want to change the base?
Mnesia migration #2561
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's a huge effort and functionality we've been missing for long time already. Thanks a lot for that.
I managed to do partial review.
Codecov Report
@@ Coverage Diff @@
## master #2561 +/- ##
==========================================
+ Coverage 78.02% 78.99% +0.96%
==========================================
Files 374 348 -26
Lines 31190 29647 -1543
==========================================
- Hits 24337 23419 -918
+ Misses 6853 6228 -625
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the update I had 2 more comments. Also we usually don't merge new functionality to master without tests. I don't expect you to work on tests now, you did huge work already. I'll try accommodate some time for writing tests for these migrations in January.
Hi @vkatsuba, sorry it took me so long to respond.
Let me know what do you think about it. |
9e23cdd
to
e876cc2
Compare
This comment was marked as spam.
This comment was marked as spam.
Still need add CT. I will try to do it soonish. |
76b2594
to
edaddc0
Compare
59867fc
to
007c951
Compare
e224b8e
to
2b675d3
Compare
Added migration for: pubsub_items migration, users, vcard, vcard_search, event_pusher_push_subscription, rosterusers, roster_versio, last, rostergroups, muc_light_occupants, muc_light_config, migrate_muc_light_rooms, migrate_offline_message, migrate_private_storage
…ubscriptions, migrate_pubsub_affiliations, migrate_pubsub_items, migrate_users, migrate_vcard_search, migrate_vcard, migrate_event_pusher_push_subscription
2b675d3
to
49c34fc
Compare
49c34fc
to
73f4ce0
Compare
This comment was marked as spam.
This comment was marked as spam.
Hi @Neustradamus. Current implementation a little bit outdated and should be updated with using latest tables structure. Still in progress. Hopefully in the next few weeks I can take the time to update and complete the current implementation. Thank you for reminding. |
This comment was marked as spam.
This comment was marked as spam.
Hi @Neustradamus. Sorry but I don't have a lot of time for now for finalize this version for MIM, however if you need include this functionality into your project you can always ping me and I will try to help you will adaptation of this code for your project. Regards, |
Proposed changes include:
How To:
Migrate
pubsub_nodes
:Migrate
pubsub_subscriptions
:Migrate
pubsub_affiliations
:Migrate
pubsub_items
:Migrate
users
:Migrate
vcard_search
:Migrate
vcard
:Migrate
event_pusher_push_subscription
:Migrate
rosterusers
:Migrate
roster_version
:Migrate
rostergroups
:Migrate
last
:Migrate
private_storage
:Migrate
offline_message
:Migrate
muc_light_rooms
:NOTES: Looks like before migration of
muc_light_config
andmuc_light_occupants
tables need to know room ID frommuc_light_rooms
, by this reason when runmigrate mnesia rdbms muc_light_rooms
will be migrated tables:muc_light_rooms
,muc_light_config
,muc_light_occupants
Migrate
all
: