Fixed and closed #455: meta-content is reset to defaults only on the first application start.
This commit is contained in:
parent
ceb228f937
commit
e04e02ed9c
7 changed files with 58 additions and 44 deletions
|
@ -13,7 +13,7 @@ namespace ScrewTurn.Wiki.Plugins.SqlServer {
|
|||
/// </summary>
|
||||
public class SqlServerSettingsStorageProvider : SqlSettingsStorageProviderBase {
|
||||
|
||||
private readonly ComponentInformation info = new ComponentInformation("SQL Server Settings Storage Provider", "ScrewTurn Software", "3.0.1.446", "http://www.screwturn.eu", "http://www.screwturn.eu/Version/SQLServerProv/Settings.txt");
|
||||
private readonly ComponentInformation info = new ComponentInformation("SQL Server Settings Storage Provider", "ScrewTurn Software", "3.0.1.461", "http://www.screwturn.eu", "http://www.screwturn.eu/Version/SQLServerProv/Settings.txt");
|
||||
|
||||
private readonly SqlServerCommandBuilder commandBuilder = new SqlServerCommandBuilder();
|
||||
|
||||
|
@ -136,6 +136,7 @@ namespace ScrewTurn.Wiki.Plugins.SqlServer {
|
|||
protected override void CreateOrUpdateDatabaseIfNecessary() {
|
||||
if(!SchemaExists()) {
|
||||
CreateStandardSchema();
|
||||
isFirstStart = true;
|
||||
}
|
||||
if(SchemaNeedsUpdate()) {
|
||||
// Run minor update batches...
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue