mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Data migration for developers
- NHibernate auto-update is explicitly run by the user (dev) through a DevTool Controller Action or Command - Generate the create method from the nhib schema --HG-- branch : dev
This commit is contained in:
@@ -12,7 +12,7 @@ namespace Orchard.Specs.Hosting {
|
||||
class TraceEnabledBuilder : SQLiteDataServicesProvider {
|
||||
public TraceEnabledBuilder(string dataFolder, string connectionString) : base(dataFolder, connectionString) {
|
||||
}
|
||||
protected override IPersistenceConfigurer GetPersistenceConfigurer(bool createDatabase) {
|
||||
public override IPersistenceConfigurer GetPersistenceConfigurer(bool createDatabase) {
|
||||
var config = (SQLiteConfiguration)base.GetPersistenceConfigurer(createDatabase);
|
||||
//config.ShowSql();
|
||||
return config;
|
||||
|
Reference in New Issue
Block a user