Here is the command-line utility that I used to upgrade my SQL Server Compact Edition database from 2.10 to 2.20. Currently, the utility only works to upgrade from 2.10 to 2.20. It will not upgrade earlier versions of a nopCommerce database.
I cannot stress this enough: backup your data! I am not responsible for any data loss that might occurr when you use this application.
Requirements:
Microsoft Windows Operating System
.NET 4.0
Copy of a nopCommerce 2.10 SQL Server CE database
Usage example:
UpdateNopComCE.exe -i C:\Nop.Db.sdf -o C:\upgraded\Nop.Db.sdf -sv 2.10 -dv 2.20
After you run the above command, if the upgrade is successfull, you should see the following output:
Creating destination database...
Opening connection to database...
Updating language id 1
Creating missing settings...
Creating missing tables...
Upgrade Complete.
In my testing, I was able to take the resulting database (in C:\upgraded\Nop.Db.sdf) and drop it over an existing SQL CE database from a test copy of nopCommerce 2.20 and everything seemed to function properly.
Please report back here with your results.
Download the utility here.