Comment 5 for bug 314777

Revision history for this message
Mick K (mjkemsley) wrote :

There also appears to be a few schema changes in the session table.
The length of a few fields were changed from 30 to 300 (apparently length on a varchar in sqlite is only cosmetic, so it probably wont affect anything)

I used the following to get gnome-rdp to create the new database, and then just used sqlite dump to copy over the data

mv ~/.gnome-rdp.db ~/.gnome-rdp-old.db
#Open gnome-rdp to create new database, then click File->Quit
gnome-rdp
sqlite ~/.gnome-rdp.old.db ".dump session" | fgrep INSERT | sqlite3 ~/.gnome-rdp.db

A number of guys at work use gnome-rdp, so I wrote a quick bash script to do this with a few sanity checks. I'll attach it in case someone finds it useful
Just give it execute permissions, and run from a shell