Conversation
Co-authored-by: jthomperoo <6690498+jthomperoo@users.noreply.github.com>
jthomperoo
left a comment
There was a problem hiding this comment.
This needs documentation. Explaining how to configure it, and the limitations of it (no migrations etc) and default behaviours. This should clearly explain how to set up in memory Vs sqlite dB.
Co-authored-by: jthomperoo <6690498+jthomperoo@users.noreply.github.com>
Done in c6d23a2. The following documentation was added:
|
jthomperoo
left a comment
There was a problem hiding this comment.
The changelog needs updated. How does this work if I start with a sqlite dB, stop, and start again?
Co-authored-by: jthomperoo <6690498+jthomperoo@users.noreply.github.com>
Changelog updated in ef9fc38. On the restart behaviour: when you stop and start again with the same |
Microsoft.EntityFrameworkCore.SqliteNuGet package toDevOidcToolkit.csprojDatabaseConfigurationclass with optionalSqliteFileproperty toConfiguration.csProgram.csto conditionally use SQLite or InMemory based onDatabase.SqliteFileconfigSqliteConnectionStringBuilderfor safe connection string constructionEnsureCreated()when SQLite is configured so schema is created on first runDatabase.SqliteFilein environment variable reference table inconfiguration.mdDatabaseto root JSON properties table inconfiguration.md#### Databasesection explaining in-memory vs SQLite, limitations (no migrations), andSqliteFilepropertyruntime-management.mdpersistence note to link to SQLite config docsARCHITECTURE.mdto describe the optional persistence modelCHANGELOG.mdwith the new SQLite persistence entry under[Unreleased]Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.