/// <summary>
        /// Updates the underlying storage schema.
        /// </summary>
        public void UpdateStorageSchema()
        {
            var command = new UpdateSchema.Command();

            if (!_commandExecutor.CanBeExecuted(command))
            {
                throw new InvalidOperationException(
                          "Resource sync handler is not registered. Make sure that storage provider is registered e.g. ctx.UseSqlServer(..)");
            }

            if (!_synced)
            {
                _commandExecutor.Execute(command);
            }
        }