Umbraco Commerce and SqlLite
# help-with-umbraco
g
I have installed Umbraco Commerce into my solution and when running locally it is wanting to use SqlLite, so I installed the dependencies as per here https://docs.umbraco.com/umbraco-commerce/how-to-guides/configure-sqlite-support - my question is when I deploy the code to Umbraco Cloud, how can I ensure that SqlLite is not used, and instead the default database is used instead??
s
Umbraco Cloud always forces the use of SQLAzure, so not to worry.
g
thanks for the swift reply @Sebastiaan that is good to know 🙂
s
You can also configure Deploy to prefer a LocalDB connection string instead of SQLite https://docs.umbraco.com/umbraco-deploy/getting-started/deploy-settings#preferlocaldbconnectionstring
g
I have just tried deploying to the development Umbraco Cloud instance, however I am not seeing any Umbraco Commerce database tables in the default Umbraco SQL database - I have a feeling it is because of this code: .AddUmbracoCommerce(builder => { builder.AddSQLite(); }) however I am not sure how I can override that when it is deployed to Umbraco Cloud
hey, thanks for the additional information 🙂 useful to know
14 Views