Skip to content

Conversation

sillyotter
Copy link
Contributor

The Persistence.Sql.Common code and sqlite.conf referred to a variable called metadata-table-name. SqliteJournal.cs and many unit tests referred to meta-table-name.

The unit tests passed before because the default value of metadata-table-name in sqllite.conf plus their manually configured meta-table-name variables defined in test worked out to cover both cases (and set them to the same name), but if you were to create a new project and assume the default name would cover all bases, you'd be wrong. To get a sqlite persistence working in a new app I found I had to set both metadata-table-name and meta-table-name to the same value to get things to work. Out of the box, following the sqlite modules directions, the sqlite persistence engine would not work right.

This PR standardizes all places to use metadata-table-name, as that is what the core persistence module uses and is what is set by default by sqlite.conf. This should allow someone to use the sqlite persistence module with no error out of the box.

multiple config file values were in use for the same thing.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants